1行目の「device = torch.device('cuda:0')」はcuda:0というGPUを使うことを宣言して ... Tensor(3, 4) b = torch.rand(2, 3, 3) print(a) print(b) ...
確定! 回上一頁