Run
import torch #create tensor with random data rand_tensor = torch.rand((2, 5)) #print tensor print(rand_tensor)
Output