software/deep_boltzmann/networks/util.py
def serialize_layers(list_of_layers):
    """ Returns a serialized version of the list of layers (recursive)

    Parameters
    ----------
    list_of_layers : list or layer
        list of list of lists or kears layer

    """
    if isinstance(list_of_layers, keras.layers.Layer):
        return layer_to_dict(list_of_layers)
    return [serialize_layers(l) for l in list_of_layers]
 Returns a serialized version of the list of layers (recursive)

    Parameters
    ----------
    list_of_layers : list or layer
        list of list of lists or kears layer

    
Returns a serialized version of the list of layers (recursive)
Parameters

list_of_layers : list or layer
list of list of lists or kears layer
Returns a serialized version of the list of layers ( recursive ) Parameters list_of_layers : list or layer list of list of lists or kears layer
def serialize_layers(list_of_layers):
    if isinstance(list_of_layers, keras.layers.Layer):
        return layer_to_dict(list_of_layers)
    return [serialize_layers(l) for l in list_of_layers]
def serialize_layers ( list_of_layers ) : if isinstance ( list_of_layers , keras . layers . Layer ) : return layer_to_dict ( list_of_layers ) return [ serialize_layers ( l ) for l in list_of_layers ]
Returns a serialized version of the list of layers (recursive)
Parameters
Returns a serialized version of the list of layers ( recursive ) Parameters
""" Returns a serialized version of the list of layers (recursive)

    Parameters
    ----------
    list_of_layers : list or layer
        list of list of lists or kears layer

    """
list_of_layers