对pytorch中的torch.sum()的理解

参考
https://mathpretty.com/12065.html
简单的来说,
参数0代表竖着加
参数1代表横着加

posted @ 2022-07-22 23:53  猪猪猪猪侠  阅读(62)  评论(0编辑  收藏  举报