print(tc.version) #0.1.12_2
The command works outside of the model just fine, its giving me a problem when I try to use it inside of “forward”. Here is the full stack-trace:
Traceback (most recent call last):

  File "<ipython-input-145-6f218d24ab72>", line 76, in <module>
    outputs = net(inputs)

  File "/home/ml-comp-01/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 206, in __call__
    result = self.forward(*input, **kwargs)

  File "<ipython-input-145-6f218d24ab72>", line 29, in forward
    x = self.elu(self.conv1(x))

  File "/home/ml-comp-01/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 206, in __call__
    result = self.forward(*input, **kwargs)

  File "/home/ml-comp-01/anaconda3/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 237, in forward
    self.padding, self.dilation, self.groups)

  File "/home/ml-comp-01/anaconda3/lib/python3.6/site-packages/torch/nn/functional.py", line 40, in conv2d
    return f(input, weight, bias)

RuntimeError: expected 3D tensor