None 可以在所处维度中多一维,具体实现。 import torch tensor = torch.randn(3, 4) print('tensor size:', tensor.size()) tensor_1 = tensor[:, ...
確定! 回上一頁