parameters: (self)
return_statement: return bprop
docstring: Generate bprop for ScatterMax
docstring_summary: Generate bprop for ScatterMax
docstring_tokens: Generate bprop for ScatterMax
function: def get_bprop_scatter_max(self):
      """Generate bprop for ScatterMax"""
      gather = P.Gather()
  
      def bprop(x, indices, update, out, dout):
          return dout, zeros_like(indices), gather(dout, indices, 0)
  
      return bprop
function_tokens: def get_bprop_scatter_max ( self ) : gather = P . Gather ( ) def bprop ( x , indices , update , out , dout ) : return dout , zeros_like ( indices ) , gather ( dout , indices , 0 ) return bprop