There was an error while loading. Please reload this page.
1 parent e80a3a7 commit 5224fc5Copy full SHA for 5224fc5
generic/SpatialConvolutionLocal.cu
@@ -52,7 +52,7 @@ static THCTensor* THNN_(view_weight_local)(
52
THCState *state,
53
THCTensor *_weight)
54
{
55
- THTensor *weight = THCTensor_(newContiguous)(state, _weight);
+ THCTensor *weight = THCTensor_(newContiguous)(state, _weight);
56
THArgCheck(weight->nDimension == 3 || weight->nDimension == 6, 4,
57
"weight tensor should be 3D or 6D - got %dD", weight->nDimension);
58
if (weight->nDimension == 6) {
0 commit comments