Expected hidden[0] size (2, 8, 256), got [8, 256]

后端 未结 0 2243
醉话见心
醉话见心 2021-01-01 22:04

I have correct shape of hidden layer for printing as below.

print(h0.shape)
print(x.shape)

torch.Size([2, 8, 256])
torch.Size([8, 300, 300])

相关标签:
回答
  • 消灭零回复
提交回复
热议问题