返回博主主页
摘要: 1.torch.sum z = torch.arange(40.).reshape(2, 4, 5) print(z) print(torch.sum( z,0)) print(torch.sum( z,1)) print(torch.sum( z,2)) tensor([[[ 0., 1., 2. 阅读全文
posted @ 2020-05-06 19:16 懒惰的星期六 阅读(590) 评论(0) 推荐(0)

Welcome to here

主页