torch.randn_like() torch.rand(3,3) #建立0-1 (3,3)矩陣 torch.randn(3,3) #建立-1-1 (3,3)矩陣 torch.randint(1,10,[2,2]) #建立1-10 (2,2) int型 ...
確定! 回上一頁