另外我记得之前有地方用到Reshape 处理Scalar ,临时用expend dims 之类的操作绕过去了? ... Size([1]) >>> d = torch.reshape(a, (2,)) Traceback (most recent call ...
確定! 回上一頁