目录dim简介1. 二维矩阵时1.1 求和1.2 softmax2. 三维张量时dim简介 pytorch中对tensor的很多操作都涉及到dim(维度的设置),但是,我们总是搞不清楚每个维度代表什么,到底设置几维,比如sum(求和)、softmax、ma
This question is related to another I ask recently, it can be found here for some background information.