class_docstr: The :class:`UnStack` class is a layer for unstacking the given dimension of a rank-R tensor into rank-(R-1) tensors., see `tf.unstack() <https://www.tensorflow.org/api_docs/python/tf/unstack>`__.
  
  Parameters
  ----------
  num : int or None
      The length of the dimension axis. Automatically inferred if None (the default).
  axis : int
      Dimension along which axis to concatenate.
  name : str
      A unique layer name.
  
  Returns
  -------
  list of :class:`Layer`
      The list of layer objects unstacked from the input.
  
  Examples
  --------
  >>> ni = Input([4, 10], name='input')
  >>> nn = Dense(n_units=5)(ni)
  >>> nn = UnStack(axis=1)(nn)  # unstack in channel axis
  >>> len(nn)  # 5
  >>> nn[0].shape  # (4,)
code: def __init__(self, num=None, axis=0, name=None):  #'unstack'):
      super().__init__(name)
      self.num = num
      self.axis = axis
  
      self.build(None)
      self._built = True
      logging.info(
          "UnStack %s: num: %s axis: %d"
          % (self.name, self.num, self.axis)
      )
  
file_path: TensorLayer/tensorlayer/layers/stack.py
imports: import tensorflow
  from tensorlayer import logging
  from tensorlayer.decorators import deprecated_alias
  from tensorlayer.layers.core import Layer
label_desc: Use image node_id 1 to create a new UnStack object from inherited base classes: Layer with example: obj = UnStack(num, axis, name)