torch.Tensor — PyTorch 1.10.1 documentation
https://pytorch.org/docs/stable/tensorsTensor.type. Returns the type if dtype is not provided, else casts this object to the specified type. Tensor.type_as. Returns this tensor cast to the type of the given tensor. Tensor.unbind. See torch.unbind() Tensor.unfold. Returns a view of the original tensor which contains all slices of size size from self tensor in the dimension dimension ...