测试代码:import torch# view: lost dim informationa = torch.rand(4, 1, 28, ... import torch # Transpose: 维度变换a = torch.rand(4, 3, 32, 32) print(a.shape) ...
確定! 回上一頁