introduction to pytorch tensor munging operations having looked at tensors and tensor construction operationslet' now dive deeper into operations with tensors we will start by looking at accessing individual elements of tensor the following example should be familiaras it is identical to the list indexing operator in python listing demonstrates accessing individual members of tensor listing - accessing individual members of tensor in [ ] torch tensor([[ , ],[ , ]]in [ ] out[ ]tensor([[ ][ ]]in [ ] [ ][ out[ ]tensor( in [ ] [ ][ out[ ]tensor( in [ ] [ ][ out[ ]tensor( in [ ] [ ][ out[ ]tensor( in [ ] shape out[ ]torch size([ ]to extract the data in tensor containing only single valuethe item method should be used listing - demonstrates accessing single value from tensor