torch.nn可以理解为类,torch.nn.functional可以理解为函数,它们在使用上有一些区别
2020-12-02
torch.nn 与 torch.nn.functional 的区别
NumPy:对Axis的理解
Tensor.data与Tensor.detach()的区别