introduction to pytorch listing - creating tensor with random values in [ ] torch rand( , , in [ ] out[ ]tensor([[[ ][ ]][[ ][ ]]]in [ ] shape out[ ]torch size([ ]another common requirement is to construct tensor of zeros listing - demonstrates the creation of tensor with defined shape having all zeros listing - creating tensor having all zeros in [ ]zeros torch zeros( , , in [ ]zeros out[ ]tensor([[[ ][ ]][[ ][ ]]]in [ ]zeros shape out[ ]torch size([ ]similarlywe can construct tensor of ones listing - demonstrates the creation of tensor with defined shape having all ones