LSTM error: AttributeError: 'tuple' object has no attribute 'dim'

前端 未结 0 1445
不知归路
不知归路 2021-01-27 01:12

I have the following code:

import torch
import torch.nn as nn

model = nn.Sequential(
          nn.LSTM(300, 300),
          nn.Linear(300, 100),
          nn.ReL         


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