out=out*out1
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 757, in mul
return self.mul(other)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 301, in mul
return Mul.apply(self, other)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/basic_ops.py", line 50, in forward
return a.mul(b)
RuntimeError: inconsistent tensor size at /home/pzz/nips2016/pytorch/torch/lib/TH/generic/THTensorMath.c:846
cannot pass the code in the link。
error message:
out=out*out1 File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 757, in mul return self.mul(other) File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 301, in mul return Mul.apply(self, other) File "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/basic_ops.py", line 50, in forward return a.mul(b) RuntimeError: inconsistent tensor size at /home/pzz/nips2016/pytorch/torch/lib/TH/generic/THTensorMath.c:846