import torch
y = torch.range(1, 6)
print(y)
print(y.dtype)
z = torch.arange(0, 6)
print(z)
print(z.dtype)
pytorch.range() 和 pytorch.arange() 的区别
猜你喜欢
转载自blog.csdn.net/jacke121/article/details/104694897
今日推荐
周排行