#we can create Tensors with different default values using #Fills with uniform distribution from (0,1] A = torch.rand(3,3) #Fills random numbers between mean 0 and variance 1 B = torch.randn(3,3) #Both creates a 3x3 tensor #Uninitalized data, could be anything :P C = torch.empty(20,20) #strictly zeros D = torch.zeros(5,5) #We can get the type and also size using following print(C.dtype) print(C.size())