class_docstr: Symbol is symbolic graph.
docstr: Compose symbol on inputs.
  
  This call mutates the current symbol.
  
  Parameters
  ----------
  args:
      provide positional arguments
  
  kwargs:
      provide keyword arguments
  
  Returns
  -------
  the resulting symbol
docstr_tok: ["Compose","symbol","on","inputs",".","This","call","mutates","the","current","symbol",".","Parameters","--","--","--","--","--","args",":","provide","positional","arguments","kwargs",":","provide","keyword","arguments","Returns","--","--","--","-","the","resulting","symbol"]
code: def _compose(self, *args, **kwargs):
      """Compose symbol on inputs.
  
      This call mutates the current symbol.
  
      Parameters
      ----------
      args:
          provide positional arguments
  
      kwargs:
          provide keyword arguments
  
      Returns
      -------
      the resulting symbol
      """
      name = kwargs.pop("name", None)
  
      if name:
          name = c_str(name)
      if len(args) != 0 and len(kwargs) != 0:
          raise TypeError(
              "compose only accept input Symbols \
                  either as positional or keyword arguments, not both"
          )
  
      for arg in args:
          if not isinstance(arg, SymbolBase):
              raise TypeError("Compose expect `Symbol` as arguments")
      for val in kwargs.values():
          if not isinstance(val, SymbolBase):
              raise TypeError("Compose expect `Symbol` as arguments")
  
      num_args = len(args) + len(kwargs)
      if len(kwargs) != 0:
          keys = c_str_array(kwargs.keys())
          args = c_handle_array(kwargs.values())
      else:
          keys = None
          args = c_handle_array(kwargs.values())
      check_call(
          _LIB.NNSymbolCompose(self.handle, name, num_args, keys, args)
      )
  
file_path: mxnet/python/mxnet/_ctypes/symbol.py
imports: import ctypes
  from ..base import _LIB
  from ..base import c_str_array, c_handle_array, c_str, mx_uint
  from ..base import SymbolHandle
  from ..base import check_call
label_desc: Use image node_id 3 for calling the SymbolBase obj's underlying member method code with example usage: obj._compose() without return types