摘要:
官方示例: >>> loss = nn.CrossEntropyLoss() >>> input = torch.randn(3, 5, requires_grad=True) >>> target = torch.empty(3, dtype=torch.long).random_(5) >>> 阅读全文
posted @ 2020-03-20 18:07
wangling1820
阅读(1534)
评论(0)
推荐(0)