torch icon indicating copy to clipboard operation
torch copied to clipboard

Arange with long dtype

Open dfalbel opened this issue 1 year ago • 0 comments

# torch_arange(1, t, dtype = "int")
# torch_tensor
# 1
# 2
# 3
# [ CPUIntType{3} ]
# torch_arange(1, t, dtype = "long")
# torch_tensor
# 1
# 2

dfalbel avatar Jun 01 '23 09:06 dfalbel