(self, *sublayers, name=None)
The constructor.

    Args:
      *sublayers: A list of sublayers.
      name: Descriptive name for this layer.

    Returns:
      A new layer in which each of the given sublayers applies to its
      corresponding span of elements in the dataflow stack.
The constructor.
The constructor .
def __init__(self, *sublayers, name=None):
    """The constructor.

    Args:
      *sublayers: A list of sublayers.
      name: Descriptive name for this layer.

    Returns:
      A new layer in which each of the given sublayers applies to its
      corresponding span of elements in the dataflow stack.
    """
    super().__init__(name=name)
    sublayers = self._validate(sublayers)
    self._n_layers = len(sublayers)
    self._sublayers = sublayers
    self._n_in = sum(l.n_in for l in sublayers)
    self._n_out = sum(l.n_out for l in sublayers)
    self._weights = tuple(None for l in sublayers)
    self._state = tuple(None for l in sublayers)
def __init__ ( self , * sublayers , name = None ) : super ( ) . __init__ ( name = name ) sublayers = self . _validate ( sublayers ) self . _n_layers = len ( sublayers ) self . _sublayers = sublayers self . _n_in = sum ( l . n_in for l in sublayers ) self . _n_out = sum ( l . n_out for l in sublayers ) self . _weights = tuple ( None for l in sublayers ) self . _state = tuple ( None for l in sublayers )