Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cunn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/THCUNN/generic/TemporalConvolution.cu')
-rw-r--r--lib/THCUNN/generic/TemporalConvolution.cu3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/THCUNN/generic/TemporalConvolution.cu b/lib/THCUNN/generic/TemporalConvolution.cu
index 5658527..a51894d 100644
--- a/lib/THCUNN/generic/TemporalConvolution.cu
+++ b/lib/THCUNN/generic/TemporalConvolution.cu
@@ -273,9 +273,8 @@ void THNN_(TemporalConvolution_accGradParameters)(
THCTensor *gradWeight,
THCTensor *gradBias,
int kW, int dW,
- accreal scale_) {
+ real scale) {
- real scale = ScalarConvert<accreal, real>::to(scale_);
long nInputFrame;
long nOutputFrame;