Hi Pytorch fans ;D
I am running an encoder - decoder architecture and I am stuck on this error:
RuntimeError: invalid argument 13: ldc should be at least max(1, m=0), but have 0 at /Users/soumith/mc3build/conda-bld/pytorch_1549593514549/work/aten/src/TH/generic/THBlas.cpp:334
The traceback is the following:
File “/Users/…/code/classes/encoder_decoder.py”, line 130, in forward
x = self.attn_linear(x.view(-1, self.hidden_size * 2 + self.T - 1))  # (batch_size * input_size) * 1
File “/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py”, line 489, in call
result = self.forward(*input, **kwargs)
File “/anaconda3/lib/python3.6/site-packages/torch/nn/modules/linear.py”, line 67, in forward
return F.linear(input, self.weight, self.bias)
File “/anaconda3/lib/python3.6/site-packages/torch/nn/functional.py”, line 1352, in linear
ret = torch.addmm(torch.jit._unwrap_optional(bias), input, weight.t())
Any hint on how to tackle it is welcome!
Thank you