class_docstr: The :class:`Stack` class is a layer for stacking a list of rank-R tensors into one rank-(R+1) tensor, see `tf.stack() <https://www.tensorflow.org/api_docs/python/tf/stack>`__.
  
  Parameters
  ----------
  axis : int
      New dimension along which to stack.
  name : str
      A unique layer name.
  
  Examples
  ---------
  >>> import tensorflow as tf
  >>> import tensorlayer as tl
  >>> ni = tl.layers.Input([None, 784], name='input')
  >>> net1 = tl.layers.Dense(10, name='dense1')(ni)
  >>> net2 = tl.layers.Dense(10, name='dense2')(ni)
  >>> net3 = tl.layers.Dense(10, name='dense3')(ni)
  >>> net = tl.layers.Stack(axis=1, name='stack')([net1, net2, net3])
  (?, 3, 10)
code: def __repr__(self):
      s = "{classname}(axis={axis}"
      if self.name is not None:
          s += ", name='{name}'"
      s += ")"
      return s.format(
          classname=self.__class__.__name__, **self.__dict__
      )
  
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 2 for calling the Stack obj's underlying member method code with example usage: obj.__repr__() and returns: s