create a tensor with a value torch$full(list(2L, 3L), 3.141592) #> tensor([[3.1416, 3.1416, ... Size([1, 28, 28]) print(img_chunk_1$sum()) #> tensor(784.) ...
確定! 回上一頁