code: def scatter_nd(data, indices, updates, mode="update"):
      """Scatter values from an array and update.
  
      See :py:func:`tvm.topi.scatter` for how data is scattered.
  
      Parameters
      ----------
      data : relay.Expr
          The input data to the operator.
  
      indices : relay.Expr
          The index locations to update.
  
      updates : relay.Expr
          The values to update.
  
      mode : string, optional
          The accumulation mode for scatter. "update", "add", "mul", "min" or "max"
          If update, the update values will replace the input data
          If add, the update values will be added to the input data
          If mul, the update values will be multiply to the input data
          If min, there is choice of minimal between the update values and the input data
          If max, there is choice of maximal between the update values and the input data
          It is "update" by default
  
      Returns
      -------
      ret : relay.Expr
          The computed result.
      """
      return _make.scatter_nd(data, indices, updates, mode)
  
imports: from ...tir import expr
  from ..expr import Constant, Expr, Tuple, TupleWrapper, const
  from .None import _make
  from .dyn import _make
  from .tensor import shape_of
label_desc: Use image node_id 11 for calling a global function with example usage: scatter_nd(data, indices, updates, mode) and returns: _make