torch
torch copied to clipboard
Arange with long dtype
# torch_arange(1, t, dtype = "int")
# torch_tensor
# 1
# 2
# 3
# [ CPUIntType{3} ]
# torch_arange(1, t, dtype = "long")
# torch_tensor
# 1
# 2