功能等同於Numpy :『 ndarray 』, 但可以切換到GPU. import torch # m = torch.randn(10,20) # 10筆陣列而每一個陣列存在20個隨機數字
確定! 回上一頁