torch.Tensor
A torch.Tensor is a multi-dimensional matrix containing elements of
a single data type. Please see torch.dtype for more details about dtype support.
Initializing and basic operations
A tensor can be constructed from a Python list or sequence using the
torch.tensor() constructor: