Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
267 B
1
Indexable
Never
x = torch.empty(5, 3)
print(x)

# 输出:
tensor([[-1.9998e+05,  4.5818e-41,  3.4318e-37],
[ 0.0000e+00,  0.0000e+00,  0.0000e+00],
[ 0.0000e+00,  0.0000e+00,  1.2877e+29],
[ 2.0947e-30,  0.0000e+00,  0.0000e+00],
[ 0.0000e+00,  0.0000e+00, -4.5328e+05]])
Leave a Comment