Note: # pytorch中,所有以下划线结尾的函数 # 会修改Tensor本身, ... 插入新的维度 In [23]: B = A.unsqueeze(0) In [24]: B.shape Out[24]: torch.
確定! 回上一頁