software/deep_boltzmann/networks/util.py
def connect(input_layer, layers):
    """ Connect the given sequence of layers and returns output layer

    Parameters
    ----------
    input_layer : keras layer
        Input layer
    layers : list of keras layers
        Layers to be connected sequentially

    Returns
    -------
    output_layer : kears layer
        Output Layer

    """
    layer = input_layer
    for l in layers:
        layer = l(layer)
    return layer
 Connect the given sequence of layers and returns output layer

    Parameters
    ----------
    input_layer : keras layer
        Input layer
    layers : list of keras layers
        Layers to be connected sequentially

    Returns
    -------
    output_layer : kears layer
        Output Layer

    
Connect the given sequence of layers and returns output layer
Parameters

input_layer : keras layer
Input layer
layers : list of keras layers
Layers to be connected sequentially

Returns

output_layer : kears layer
Output Layer
Connect the given sequence of layers and returns output layer Parameters input_layer : keras layer Input layer layers : list of keras layers Layers to be connected sequentially Returns output_layer : kears layer Output Layer
def connect(input_layer, layers):
    layer = input_layer
    for l in layers:
        layer = l(layer)
    return layer
def connect ( input_layer , layers ) : layer = input_layer for l in layers : layer = l ( layer ) return layer
Connect the given sequence of layers and returns output layer
Parameters
Connect the given sequence of layers and returns output layer Parameters
""" Connect the given sequence of layers and returns output layer

    Parameters
    ----------
    input_layer : keras layer
        Input layer
    layers : list of keras layers
        Layers to be connected sequentially

    Returns
    -------
    output_layer : kears layer
        Output Layer

    """
input_layer
layers