torch.zeros((2, 3, 4))#2表示二维数组的个数,3表示行数,4表示列数; ... X = torch.arange(12, dtype=torch.float32).reshape((3,4)) Y ...
確定! 回上一頁