pytorch 中view是tensor方法,然而在sequential中包装的是nn.module的子类, ... def forward(self, x):; return x.view((x.size(0),)+self.shape).
確定! 回上一頁