#NEWLINE# def show_weights( model_path , rescale = 'individual' , border = False , out = None ) : #NEWLINE# #INDENT# '\n    Show or save weights to an image for a pickled model\n\n    Parameters\n    ----------\n    model_path : str\n        Path of the model to show weights for\n    rescale : str\n        WRITEME\n    border : bool, optional\n        WRITEME\n    out : str, optional\n        Output file to save weights to\n    ' #NEWLINE# pv = get_weights_report . get_weights_report ( model_path = model_path , rescale = rescale , border = border ) #NEWLINE# if ( out is None ) : #NEWLINE# #INDENT# pv . show ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# pv . save ( out )