Pytorch中返回super().forward()
摘要:
https://github.com/pytorch/pytorch/issues/42885 import torch import torch.nn as nn class Foo(nn.Conv1d): def forward(self, x): return super().forward( 阅读全文
posted @ 2021-01-29 21:38 那抹阳光1994 阅读(2026) 评论(0) 推荐(0) 编辑