class_docstr: Translates slice objects to concatenation along an axis.
  
  For detailed documentation on usage, see :func:`cupy.r_`.
  This implementation is partially borrowed from NumPy's one.
class_docstr_tok: ["Translates","slice","objects","to","concatenation","along","an","axis",".","For","detailed","documentation","on","usage",",","see",":","func",":","`","cupy.r_","`",".","This","implementation","is","partially","borrowed","from","NumPy","'s","one","."]
code: def __getitem__(self, key):
      trans1d = self.trans1d
      ndmin = self.ndmin
      objs = []
      arrays = []
      scalars = []
      if isinstance(key, str):
          raise NotImplementedError
      if not isinstance(key, tuple):
          key = (key,)
  
      for i, k in enumerate(key):
          if isinstance(k, slice):
              raise NotImplementedError
          elif isinstance(k, str):
              if i != 0:
                  raise ValueError(
                      "special directives must be the first entry."
                  )
              raise NotImplementedError
          elif type(k) in numpy.ScalarType:
              newobj = from_data.array(k, ndmin=ndmin)
              scalars.append(i)
          else:
              newobj = from_data.array(k, copy=False, ndmin=ndmin)
              if ndmin > 1:
                  ndim = from_data.array(k, copy=False).ndim
                  if trans1d != -1 and ndim < ndmin:
                      newobj = self._output_obj(
                          newobj, ndim, ndmin, trans1d
                      )
              arrays.append(newobj)
  
          objs.append(newobj)
  
      final_dtype = numpy.result_type(
          *arrays, *[key[k] for k in scalars]
      )
      if final_dtype is not None:
          for k in scalars:
              objs[k] = objs[k].astype(final_dtype)
  
      return join.concatenate(tuple(objs), axis=self.axis)
  
imports: import functools
  import numbers
  import operator
  import numpy
  import cupy
  from cupy._creation import from_data
  from cupy._manipulation import join
label_desc: Use image node_id 3 for calling the AxisConcatenator obj's underlying member method code with example usage: obj.__getitem__(key) and returns: join