Pytorch Subclass of nn.module has no attribute 'parameters'

后端 未结 0 374
长发绾君心
长发绾君心 2020-11-30 05:41

Python Version: Python 3.8.5
Pytorch Version: \'1.6.0\'

I am defining LSTM, a subclass of nn.module. I am trying to create an optimizer but I am getting the follo

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