Importing the PyTorch library import torch # Applying the ones function and # storing the resulting tensor in 't' a = torch.ones([3, 4]) print("a = ", a) b ...
確定! 回上一頁