code: def _install():
      from ..core import Tensor, TensorData
      from .getitem import _getitem
      from .setitem import _setitem
  
      setattr(Tensor, "__getitem__", _getitem)
      setattr(TensorData, "__getitem__", _getitem)
      setattr(Tensor, "__setitem__", _setitem)
      setattr(Tensor, "take", take)
      setattr(
          Tensor,
          "compress",
          lambda a, condition, axis=None: compress(
              condition, a, axis=axis
          ),
      )
      setattr(Tensor, "choose", choose)
      setattr(Tensor, "nonzero", nonzero)
  
file_path: mars/mars/tensor/indexing/__init__.py
imports: from .take import take
  from .compress import compress
  from .extract import extract
  from .choose import choose, TensorChoose
  from .unravel_index import unravel_index, TensorUnravelIndex
  from .nonzero import nonzero, TensorNonzero
  from .flatnonzero import flatnonzero
  from .slice import TensorSlice
  from .getitem import TensorIndex, FancyIndexingDistribute, FancyIndexingConcat
  from .setitem import TensorIndexSetValue
  from .fill_diagonal import fill_diagonal, TensorFillDiagonal
label_desc: Use image node_id 1 for calling a global function with example usage: _install() without return types