数据本身不发生改变,数据的访问方式发生了改变1.维度的扩展函数:unsqueeze()# a是一个4维的a = torch.randn(4, 3, 28, 28) print('a.shape\n', a.shape) print('\n ...
確定! 回上一頁