bug解決:shape [-1, 400] is invalid for input of size 179776

# 首先是調用Variable、 torch.nn、torch.nn.functional from torch.autograd import Variable # 這一步尚未顯式用到variable,可是如今寫在這裏也沒問題,後面會用到 import torch.nn as nn import torch.nn.functional as F class Net(nn.Module):
相關文章
相關標籤/搜索