mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-23 03:09:21 +08:00
9 lines
151 B
Python
9 lines
151 B
Python
import torch
|
|
|
|
|
|
t5 = torch.randint(low=100, high=1000, size=(2, 3, 4))
|
|
print(t5.numpy())
|
|
|
|
t6 = torch.tensor([[[[[[[[[[[100]]]]]]]]]]])
|
|
print(t6.item())
|