I can’t find init() constructor in torch/tensor.py.
How are the tensors constructed?
And what will happen when I run “torch.tensor([1,2,3])”?
Pytorch version is 1.0
I can’t find init() constructor in torch/tensor.py.
How are the tensors constructed?
And what will happen when I run “torch.tensor([1,2,3])”?
Pytorch version is 1.0