code: def _ScatterMaxGrad(op, grad):
      updates = op.inputs[0]
      indices = op.inputs[1]
      size = op.inputs[2]
      out = op.outputs[0]
      indicators = tf.equal(updates, gather(out, indices))
      indicators = tf.cast(indicators, updates.dtype)
      num_selected = scatter_add(indicators, indices, size)
      indicators = indicators / gather(num_selected, indices)
      return [indicators * gather(grad, indices), None, None]
  
file_path: euler/tf_euler/python/euler_ops/mp_ops.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import ctypes
  import os
  import tensorflow
  from tf_euler.python.euler_ops import base
label_desc: Use image node_id 3 for calling a global function with example usage: _ScatterMaxGrad(op, grad) and returns: list