introduction to pytorch tensor([[ ][ ][ ][ ]]in [ ] shape out[ ]torch size([ ]in [ ] gather( ,din [ ] out[ ]tensor([[ ][ ][ ][ ]]in [ ] shape out[ ]torch size([ ]similarlythe scatter method can be used to put values into tensor along given dimensions at given positions listing - illustrates augmenting tensor' values with scatter listing - augmenting tensor' values using the scatter method in [ ] torch rand( , in [ ] out[ ]tensor([[ ][ ][ ][ ]]