1 #ifndef THC_GENERIC_FILE 2 #define THC_GENERIC_FILE "THCUNN/generic/THCUNN.h" 5 #include <ATen/core/Reduction.h> 7 THC_API
void THNN_(Abs_updateOutput)(
12 THC_API
void THNN_(Abs_updateGradInput)(
15 THCTensor *gradOutput,
16 THCTensor *gradInput);
18 THC_API
void THNN_(AbsCriterion_updateOutput)(
25 THC_API
void THNN_(AbsCriterion_updateGradInput)(
29 THCTensor *gradOutput,
33 THC_API
void THNN_(BCECriterion_updateOutput)(
41 THC_API
void THNN_(BCECriterion_updateGradInput)(
45 THCTensor *gradOutput,
50 THC_API
void THNN_(ClassNLLCriterion_updateOutput)(
53 THCIndexTensor *target,
57 THCTensor *total_weight,
58 int64_t ignore_index);
60 THC_API
void THNN_(ClassNLLCriterion_updateGradInput)(
63 THCIndexTensor *target,
64 THCTensor *gradOutput,
68 THCTensor *total_weight,
69 int64_t ignore_index);
71 THC_API
void THNN_(DistKLDivCriterion_updateOutput)(
78 THC_API
void THNN_(DistKLDivCriterion_updateGradInput)(
82 THCTensor *gradOutput,
86 THC_API
void THNN_(ELU_updateOutput)(
95 THC_API
void THNN_(ELU_updateGradInput)(
97 THCTensor *gradOutput,
102 accreal input_scale);
104 THC_API
void THNN_(FeatureLPPooling_updateOutput)(
113 THC_API
void THNN_(FeatureLPPooling_updateGradInput)(
115 THCTensor* gradOutputTH,
118 THCTensor* gradInputTH,
124 THC_API
void THNN_(HardTanh_updateOutput)(
132 THC_API
void THNN_(HardTanh_updateGradInput)(
135 THCTensor *gradOutput,
136 THCTensor *gradInput,
141 THC_API
void THNN_(GatedLinear_updateOutput)(
147 THC_API
void THNN_(GatedLinear_updateGradInput)(
150 THCTensor *gradOutput,
151 THCTensor *gradInput,
154 THC_API
void THNN_(Im2Col_updateOutput)(
158 int64_t kH, int64_t kW,
159 int64_t dH, int64_t dW,
160 int64_t padH, int64_t padW,
161 int64_t sH, int64_t sW);
163 THC_API
void THNN_(Im2Col_updateGradInput)(
165 THCTensor *gradOutput,
166 THCTensor *gradInput,
167 int64_t inputHeight, int64_t inputWidth,
168 int64_t kH, int64_t kW,
169 int64_t dH, int64_t dW,
170 int64_t padH, int64_t padW,
171 int64_t sH, int64_t sW);
173 THC_API
void THNN_(Col2Im_updateOutput)(
177 int64_t outputHeight, int64_t outputWidth,
178 int64_t kH, int64_t kW,
179 int64_t dH, int64_t dW,
180 int64_t padH, int64_t padW,
181 int64_t sH, int64_t sW);
183 THC_API
void THNN_(Col2Im_updateGradInput)(
185 THCTensor *gradOutput,
186 THCTensor *gradInput,
187 int64_t kH, int64_t kW,
188 int64_t dH, int64_t dW,
189 int64_t padH, int64_t padW,
190 int64_t sH, int64_t sW);
192 THC_API
void THNN_(LeakyReLU_updateOutput)(
199 THC_API
void THNN_(LeakyReLU_updateGradInput)(
202 THCTensor *gradOutput,
203 THCTensor *gradInput,
207 THC_API
void THNN_(LogSigmoid_updateOutput)(
213 THC_API
void THNN_(LogSigmoid_updateGradInput)(
216 THCTensor *gradOutput,
217 THCTensor *gradInput,
220 THC_API
void THNN_(LookupTable_accGradParameters)(
222 THCIndexTensor *input,
223 THCTensor *gradOutput,
224 THCTensor *gradWeight,
225 THCIndexTensor *count,
226 THCIndexTensor *sorted,
227 THCIndexTensor *indices,
228 bool scaleGradByFreq,
232 THC_API
void THNN_(LookupTable_renorm)(
239 THC_API
void THNN_(LookupTableBag_updateOutput)(
241 THCIndexTensor *input,
242 THCIndexTensor *offsets,
245 THCIndexTensor *offset2bag,
247 THCIndexTensor *seq_length);
249 THC_API
void THNN_(LookupTableBag_accGradParameters)(
251 THCIndexTensor *input,
252 THCTensor *gradOutput,
253 THCTensor *gradWeight,
254 THCIndexTensor *offset2bag,
255 THCIndexTensor *count,
256 THCIndexTensor *sortedIndices,
257 THCIndexTensor *origIndices,
258 bool scaleGradByFreq,
260 THCIndexTensor *seq_length,
263 THC_API
void THNN_(L1Cost_updateOutput)(
268 THC_API
void THNN_(L1Cost_updateGradInput)(
271 THCTensor *gradOutput,
272 THCTensor *gradInput);
274 THC_API
void THNN_(MarginCriterion_updateOutput)(
282 THC_API
void THNN_(MarginCriterion_updateGradInput)(
286 THCTensor *gradInput,
290 THC_API
void THNN_(MSECriterion_updateOutput)(
297 THC_API
void THNN_(MSECriterion_updateGradInput)(
301 THCTensor *gradOutput,
302 THCTensor *gradInput,
305 THC_API
void THNN_(MultiLabelMarginCriterion_updateOutput)(
308 THCIndexTensor *target,
313 THC_API
void THNN_(MultiLabelMarginCriterion_updateGradInput)(
316 THCIndexTensor *target,
317 THCTensor *gradOutput,
318 THCTensor *gradInput,
322 THC_API
void THNN_(MultiMarginCriterion_updateOutput)(
325 THCIndexTensor *target,
332 THC_API
void THNN_(MultiMarginCriterion_updateGradInput)(
335 THCIndexTensor *target,
336 THCTensor *gradOutput,
337 THCTensor *gradInput,
342 THC_API
void THNN_(SmoothL1Criterion_updateOutput)(
349 THC_API
void THNN_(SmoothL1Criterion_updateGradInput)(
353 THCTensor *gradOutput,
354 THCTensor *gradInput,
357 THC_API
void THNN_(IndexLinear_updateOutput)(
359 THCIndexTensor *keys,
362 THCIndexTensor *sizes,
363 THCIndexTensor *cumSumSizes,
367 THCTensor *normalizedValues,
370 THC_API
void THNN_(IndexLinear_accGradParameters)(
372 THCIndexTensor *keys,
375 THCIndexTensor *sizes,
376 THCIndexTensor *cumSumSizes,
377 THCTensor *gradOutput,
378 THCTensor *gradWeight,
382 THCTensor* valuesBuffer,
386 THC_API
void THNN_(IndexLinear_accUpdateGradParameters)(
388 THCIndexTensor *keys,
391 THCIndexTensor *sizes,
392 THCIndexTensor *cumSumSizes,
393 THCTensor *gradOutput,
399 THC_API
void THNN_(IndexLinear_updateParameters)(
401 THCTensor *gradWeight,
405 THCIndexTensor *runningKeys,
406 THCIndexTensor *cumSumSizes,
409 accreal learningRate);
411 THC_API
void THNN_(SpatialAdaptiveMaxPooling_updateOutput)(
415 THCIndexTensor *indices,
419 THC_API
void THNN_(SpatialAdaptiveMaxPooling_updateGradInput)(
422 THCTensor *gradOutput,
423 THCTensor *gradInput,
424 THCIndexTensor *indices);
426 THC_API
void THNN_(SpatialAveragePooling_updateOutput)(
434 bool count_include_pad);
436 THC_API
void THNN_(SpatialAveragePooling_updateGradInput)(
439 THCTensor *gradOutput,
440 THCTensor *gradInput,
445 bool count_include_pad);
447 THC_API
void THNN_(SpatialClassNLLCriterion_updateOutput)(
450 THCIndexTensor *target,
454 THCTensor *total_weight,
455 int64_t ignore_index);
457 THC_API
void THNN_(SpatialClassNLLCriterion_updateGradInput)(
460 THCIndexTensor *target,
461 THCTensor *gradOutput,
462 THCTensor *gradInput,
465 THCTensor *total_weight,
466 int64_t ignore_index);
468 THC_API
void THNN_(SpatialConvolutionLocal_updateOutput)(
475 THCTensor *fgradInput,
479 int64_t inputWidth, int64_t inputHeight,
480 int64_t outputWidth, int64_t outputHeight);
482 THC_API
void THNN_(SpatialConvolutionLocal_updateGradInput)(
485 THCTensor *gradOutput,
486 THCTensor *gradInput,
489 THCTensor *fgradInput,
493 int64_t inputWidth, int64_t inputHeight,
494 int64_t outputWidth, int64_t outputHeight);
496 THC_API
void THNN_(SpatialConvolutionLocal_accGradParameters)(
499 THCTensor *gradOutput,
500 THCTensor *gradWeight,
503 THCTensor *fgradInput,
507 int64_t inputWidth, int64_t inputHeight,
508 int64_t outputWidth, int64_t outputHeight,
511 THC_API
void THNN_(SpatialConvolutionMM_updateOutput)(
523 THC_API
void THNN_(SpatialConvolutionMM_updateGradInput)(
526 THCTensor *gradOutput,
527 THCTensor *gradInput,
535 THC_API
void THNN_(SpatialConvolutionMM_accGradParameters)(
538 THCTensor *gradOutput,
539 THCTensor *gradWeight,
548 THC_API
void THNN_(SpatialDepthwiseConvolution_updateOutput)(
557 int dilationW,
int dilationH);
559 THC_API
void THNN_(SpatialDepthwiseConvolution_updateGradInput)(
562 THCTensor *gradOutput,
563 THCTensor *gradInput,
568 int dilationW,
int dilationH);
570 THC_API
void THNN_(SpatialDepthwiseConvolution_accGradParameters)(
573 THCTensor *gradOutput,
574 THCTensor *gradWeight,
578 int dilationW,
int dilationH);
580 THC_API
void THNN_(SpatialCrossMapLRN_updateOutput)(
590 THC_API
void THNN_(SpatialCrossMapLRN_updateGradInput)(
593 THCTensor *gradOutput,
594 THCTensor *gradInput,
602 THC_API
void THNN_(SpatialDilatedConvolution_updateOutput)(
613 int dilationW,
int dilationH);
615 THC_API
void THNN_(SpatialDilatedConvolution_updateGradInput)(
618 THCTensor *gradOutput,
619 THCTensor *gradInput,
625 int dilationW,
int dilationH);
627 THC_API
void THNN_(SpatialDilatedConvolution_accGradParameters)(
630 THCTensor *gradOutput,
631 THCTensor *gradWeight,
638 int dilationW,
int dilationH,
641 THC_API
void THNN_(SpatialFullDilatedConvolution_updateOutput)(
652 int dilationW,
int dilationH,
655 THC_API
void THNN_(SpatialFullDilatedConvolution_updateGradInput)(
658 THCTensor *gradOutput,
659 THCTensor *gradInput,
665 int dilationW,
int dilationH,
668 THC_API
void THNN_(SpatialFullDilatedConvolution_accGradParameters)(
671 THCTensor *gradOutput,
672 THCTensor *gradWeight,
679 int dilationW,
int dilationH,
683 THC_API
void THNN_(SpatialDilatedMaxPooling_updateOutput)(
687 THCIndexTensor *indices,
691 int dilationW,
int dilationH,
694 THC_API
void THNN_(SpatialDilatedMaxPooling_updateGradInput)(
697 THCTensor *gradOutput,
698 THCTensor *gradInput,
699 THCIndexTensor *indices,
703 int dilationW,
int dilationH,
706 THC_API
void THNN_(SpatialFullConvolution_updateOutput)(
719 THC_API
void THNN_(SpatialFullConvolution_updateGradInput)(
722 THCTensor *gradOutput,
723 THCTensor *gradInput,
731 THC_API
void THNN_(SpatialFullConvolution_accGradParameters)(
734 THCTensor *gradOutput,
735 THCTensor *gradWeight,
745 THC_API
void THNN_(SpatialMaxPooling_updateOutput)(
749 THCIndexTensor *indices,
755 THC_API
void THNN_(SpatialMaxPooling_updateGradInput)(
758 THCTensor *gradOutput,
759 THCTensor *gradInput,
760 THCIndexTensor *indices,
766 THC_API
void THNN_(SpatialMaxUnpooling_updateOutput)(
770 THCIndexTensor *indices,
771 int owidth,
int oheight);
773 THC_API
void THNN_(SpatialMaxUnpooling_updateGradInput)(
776 THCTensor *gradOutput,
777 THCTensor *gradInput,
778 THCIndexTensor *indices,
779 int owidth,
int oheight);
781 THC_API
void THNN_(SpatialSubSampling_updateOutput)(
790 THC_API
void THNN_(SpatialSubSampling_updateGradInput)(
793 THCTensor *gradOutput,
794 THCTensor *gradInput,
799 THC_API
void THNN_(SpatialSubSampling_accGradParameters)(
802 THCTensor *gradOutput,
803 THCTensor *gradWeight,
809 THC_API
void THNN_(SpatialUpSamplingBilinear_updateOutput)(
817 THC_API
void THNN_(SpatialUpSamplingBilinear_updateGradInput)(
819 THCTensor *gradOutput,
820 THCTensor *gradInput,
829 THC_API
void THNN_(SpatialUpSamplingBicubic_updateOutput)(
837 THC_API
void THNN_(SpatialUpSamplingBicubic_updateGradInput)(
839 THCTensor *gradOutput,
840 THCTensor *gradInput,
849 THC_API
void THNN_(SpatialUpSamplingNearest_updateGradInput)(
851 THCTensor *gradOutput,
852 THCTensor *gradInput,
860 THC_API
void THNN_(SpatialUpSamplingNearest_updateOutput)(
867 THC_API
void THNN_(RReLU_updateOutput)(
878 THC_API
void THNN_(RReLU_updateGradInput)(
881 THCTensor *gradOutput,
882 THCTensor *gradInput,
889 THC_API
void THNN_(Sigmoid_updateOutput)(
894 THC_API
void THNN_(Sigmoid_updateGradInput)(
896 THCTensor *gradOutput,
897 THCTensor *gradInput,
900 THC_API
void THNN_(SoftMarginCriterion_updateOutput)(
907 THC_API
void THNN_(SoftMarginCriterion_updateGradInput)(
911 THCTensor *gradOutput,
912 THCTensor *gradInput,
915 THC_API
void THNN_(SoftPlus_updateOutput)(
922 THC_API
void THNN_(SoftPlus_updateGradInput)(
925 THCTensor *gradOutput,
926 THCTensor *gradInput,
931 THC_API
void THNN_(SoftShrink_updateOutput)(
937 THC_API
void THNN_(SoftShrink_updateGradInput)(
940 THCTensor *gradOutput,
941 THCTensor *gradInput,
944 THC_API
void THNN_(Square_updateOutput)(
949 THC_API
void THNN_(Square_updateGradInput)(
952 THCTensor *gradOutput,
953 THCTensor *gradInput);
955 THC_API
void THNN_(Sqrt_updateOutput)(
961 THC_API
void THNN_(Sqrt_updateGradInput)(
964 THCTensor *gradOutput,
965 THCTensor *gradInput,
968 THC_API
void THNN_(Tanh_updateOutput)(
973 THC_API
void THNN_(Tanh_updateGradInput)(
975 THCTensor *gradOutput,
976 THCTensor *gradInput,
979 THC_API
void THNN_(TemporalConvolution_updateOutput)(
987 int outputFrameSize);
989 THC_API
void THNN_(TemporalConvolution_updateGradInput)(
992 THCTensor *gradOutput,
993 THCTensor *gradInput,
997 THC_API
void THNN_(TemporalConvolution_accGradParameters)(
1000 THCTensor *gradOutput,
1001 THCTensor *gradWeight,
1002 THCTensor *gradBias,
1006 THC_API
void THNN_(TemporalMaxPooling_updateOutput)(
1010 THCIndexTensor *indices,
1013 THC_API
void THNN_(TemporalMaxPooling_updateGradInput)(
1016 THCTensor *gradOutput,
1017 THCTensor *gradInput,
1018 THCIndexTensor *indices,
1021 THC_API
void THNN_(TemporalRowConvolution_updateOutput)(
1028 THCTensor *fgradInput,
1034 THC_API
void THNN_(TemporalRowConvolution_updateGradInput)(
1037 THCTensor *gradOutput,
1038 THCTensor *gradInput,
1041 THCTensor *fgradInput,
1047 THC_API
void THNN_(TemporalRowConvolution_accGradParameters)(
1050 THCTensor *gradOutput,
1051 THCTensor *gradWeight,
1052 THCTensor *gradBias,
1054 THCTensor *fgradInput,
1061 THC_API
void THNN_(TemporalUpSamplingLinear_updateOutput)(
1066 bool align_corners);
1068 THC_API
void THNN_(TemporalUpSamplingLinear_updateGradInput)(
1070 THCTensor *gradOutput,
1071 THCTensor *gradInput,
1076 bool align_corners);
1078 THC_API
void THNN_(TemporalUpSamplingNearest_updateGradInput)(
1080 THCTensor *gradOutput,
1081 THCTensor *gradInput,
1087 THC_API
void THNN_(TemporalUpSamplingNearest_updateOutput)(
1093 THC_API
void THNN_(VolumetricAveragePooling_updateOutput)(
1097 int kT,
int kW,
int kH,
1098 int dT,
int dW,
int dH,
1099 int padT,
int padW,
int padH,
1101 bool count_include_pad);
1103 THC_API
void THNN_(VolumetricAveragePooling_updateGradInput)(
1106 THCTensor *gradOutput,
1107 THCTensor *gradInput,
1108 int kT,
int kW,
int kH,
1109 int dT,
int dW,
int dH,
1110 int padT,
int padW,
int padH,
1112 bool count_include_pad);
1115 THC_API
void THNN_(VolumetricConvolution_updateOutput)(
1122 THCTensor *fgradInput,
1123 int dT,
int dW,
int dH,
1124 int padT,
int padW,
int padH);
1126 THC_API
void THNN_(VolumetricConvolution_updateGradInput)(
1129 THCTensor *gradOutput,
1130 THCTensor *gradInput,
1133 int dT,
int dW,
int dH,
1134 int padT,
int padW,
int padH);
1136 THC_API
void THNN_(VolumetricConvolution_accGradParameters)(
1139 THCTensor *gradOutput,
1140 THCTensor *gradWeight,
1141 THCTensor *gradBias,
1143 THCTensor *fgradInput,
1144 int dT,
int dW,
int dH,
1145 int padT,
int padW,
int padH,
1148 THC_API
void THNN_(VolumetricDilatedConvolution_updateOutput)(
1156 int kT,
int kW,
int kH,
1157 int dT,
int dW,
int dH,
1158 int padT,
int padW,
int padH,
1159 int dilationT,
int dilationW,
int dilationH);
1161 THC_API
void THNN_(VolumetricDilatedConvolution_updateGradInput)(
1164 THCTensor *gradOutput,
1165 THCTensor *gradInput,
1168 int kT,
int kW,
int kH,
1169 int dT,
int dW,
int dH,
1170 int padT,
int padW,
int padH,
1171 int dilationT,
int dilationW,
int dilationH);
1173 THC_API
void THNN_(VolumetricDilatedConvolution_accGradParameters)(
1176 THCTensor *gradOutput,
1177 THCTensor *gradWeight,
1178 THCTensor *gradBias,
1181 int kT,
int kW,
int kH,
1182 int dT,
int dW,
int dH,
1183 int padT,
int padW,
int padH,
1184 int dilationT,
int dilationW,
int dilationH,
1187 THC_API
void THNN_(VolumetricFullDilatedConvolution_updateOutput)(
1194 THCTensor *fgradInput,
1195 int kT,
int kW,
int kH,
1196 int dT,
int dW,
int dH,
1197 int padT,
int padW,
int padH,
1198 int dilationT,
int dilationW,
int dilationH,
1199 int adjT,
int adjW,
int adjH);
1201 THC_API
void THNN_(VolumetricFullDilatedConvolution_updateGradInput)(
1204 THCTensor *gradOutput,
1205 THCTensor *gradInput,
1208 THCTensor *fgradInput,
1209 int kT,
int kW,
int kH,
1210 int dT,
int dW,
int dH,
1211 int padT,
int padW,
int padH,
1212 int dilationT,
int dilationW,
int dilationH,
1213 int adjT,
int adjW,
int adjH);
1215 THC_API
void THNN_(VolumetricFullDilatedConvolution_accGradParameters)(
1218 THCTensor *gradOutput,
1219 THCTensor *gradWeight,
1220 THCTensor *gradBias,
1222 THCTensor *fgradInput,
1223 int kT,
int kW,
int kH,
1224 int dT,
int dW,
int dH,
1225 int padT,
int padW,
int padH,
1226 int dilationT,
int dilationW,
int dilationH,
1227 int adjT,
int adjW,
int adjH,
1230 THC_API
void THNN_(VolumetricDilatedMaxPooling_updateOutput)(
1234 THCIndexTensor *indices,
1235 int kT,
int kW,
int kH,
1236 int dT,
int dW,
int dH,
1237 int padT,
int padW,
int padH,
1238 int dilationT,
int dilationW,
int dilationH,
1241 THC_API
void THNN_(VolumetricDilatedMaxPooling_updateGradInput)(
1244 THCTensor *gradOutput,
1245 THCTensor *gradInput,
1246 THCIndexTensor *indices,
1247 int kT,
int kW,
int kH,
1248 int dT,
int dW,
int dH,
1249 int padT,
int padW,
int padH,
1250 int dilationT,
int dilationW,
int dilationH,
1253 THC_API
void THNN_(VolumetricFullConvolution_updateOutput)(
1260 THCTensor *fgradInput,
1261 int kT,
int kW,
int kH,
1262 int dT,
int dW,
int dH,
1263 int padT,
int padW,
int padH,
1264 int adjT,
int adjW,
int adjH);
1266 THC_API
void THNN_(VolumetricFullConvolution_updateGradInput)(
1269 THCTensor *gradOutput,
1270 THCTensor *gradInput,
1273 THCTensor *fgradInput,
1274 int kT,
int kW,
int kH,
1275 int dT,
int dW,
int dH,
1276 int padT,
int padW,
int padH,
1277 int adjT,
int adjW,
int adjH);
1279 THC_API
void THNN_(VolumetricFullConvolution_accGradParameters)(
1282 THCTensor *gradOutput,
1283 THCTensor *gradWeight,
1284 THCTensor *gradBias,
1286 THCTensor *fgradInput,
1287 int kT,
int kW,
int kH,
1288 int dT,
int dW,
int dH,
1289 int padT,
int padW,
int padH,
1290 int adjT,
int adjW,
int adjH,
1293 THC_API
void THNN_(VolumetricMaxPooling_updateOutput)(
1297 THCIndexTensor *indices,
1298 int kT,
int kW,
int kH,
1299 int dT,
int dW,
int dH,
1300 int padT,
int padW,
int padH,
1303 THC_API
void THNN_(VolumetricMaxPooling_updateGradInput)(
1306 THCTensor *gradOutput,
1307 THCTensor *gradInput,
1308 THCIndexTensor *indices,
1309 int kT,
int kW,
int kH,
1310 int dT,
int dW,
int dH,
1311 int padT,
int padW,
int padH,
1314 THC_API
void THNN_(VolumetricMaxUnpooling_updateOutput)(
1318 THCIndexTensor *indices,
1319 int outputTime,
int outputWidth,
int outputHeight,
1320 int dT,
int dW,
int dH,
1321 int padT,
int padW,
int padH);
1323 THC_API
void THNN_(VolumetricMaxUnpooling_updateGradInput)(
1326 THCTensor *gradOutput,
1327 THCTensor *gradInput,
1328 THCIndexTensor *indices,
1329 int outputTime,
int outputWidth,
int outputHeight,
1330 int dT,
int dW,
int dH,
1331 int padT,
int padW,
int padH);
1333 THC_API
void THNN_(VolumetricAdaptiveMaxPooling_updateOutput)(
1337 THCIndexTensor *indices,
1342 THC_API
void THNN_(VolumetricAdaptiveMaxPooling_updateGradInput)(
1345 THCTensor *gradOutput,
1346 THCTensor *gradInput,
1347 THCIndexTensor *indices);
1349 THC_API
void THNN_(VolumetricAdaptiveAveragePooling_updateOutput)(
1357 THC_API
void THNN_(VolumetricAdaptiveAveragePooling_updateGradInput)(
1360 THCTensor *gradOutput,
1361 THCTensor *gradInput);
1363 THC_API
void THNN_(VolumetricUpSamplingNearest_updateGradInput)(
1365 THCTensor *gradOutput,
1366 THCTensor *gradInput,
1376 THC_API
void THNN_(VolumetricUpSamplingNearest_updateOutput)(
1384 THC_API
void THNN_(VolumetricUpSamplingTrilinear_updateOutput)(
1391 bool align_corners);
1393 THC_API
void THNN_(VolumetricUpSamplingTrilinear_updateGradInput)(
1395 THCTensor *gradOutput,
1396 THCTensor *gradInput,
1405 bool align_corners);