深度学习与PyTorch笔记9

tensor基本运算 add/minus/multiply/divide 加torch.add减torch.sub乘torch.mul除torch.div import torch a=torch.rand(3,4) b=torch.rand(4) print(a) print(b) print(a+b) print(torch.add(a,b)) print(torch.all(torch.eq
相关文章
相关标签/搜索