code: def invert_permutation(data):
      """Computes the inverse permutation of data.
      This operation computes the inverse of an index permutation.
      It takes a 1-D integer tensor x, which represents the indices of a zero-based
      array and swaps each value with its index position.
  
      For an output tensor y and an input tensor x, this operation computes the following:
      y[x[i]] = i for i in [0, 1, ..., len(x) - 1]
  
      Parameters
      ----------
      data : relay.Expr
          The source data to be invert permuted.
  
      Returns
      -------
      ret : relay.Expr
          Invert permuted data. Has the same type as data.
  
      Examples
      --------
      .. code-block:: python
  
          data = [3, 4, 0, 2, 1]
          relay.invert_permutation(data) = [2, 4, 3, 0, 1]
      """
      return _make.invert_permutation(data)
  
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 47 for calling a global function with example usage: invert_permutation(data) and returns: _make