introduction to pytorch in [ ] shape out[ ]torch size([ ]in [ ]index torch longtensor([[ , , , ]]in [ ]index out[ ]tensor([[ ]]in [ ]index shape out[ ]torch size([ ]in [ ]values torch zeros( , in [ ]values out[ ]tensor([[ ]]in [ ]values shape out[ ]torch size([ ]in [ ]result scatter( indexvaluesin [ ]result out[ ]tensor([[ ][ ][ ][ ]]in [ ]result shape out[ ]torch size([ ]in [ ] out[ ]tensor([[ ][ ][ ][ ]]