Method: Torch::Tensor#new

Defined in:
lib/torch/tensor.rb

#newObject

unsure if this is correct

[View source]

130
131
132
# File 'lib/torch/tensor.rb', line 130

def new
  Torch.empty(0, dtype: dtype)
end