#NEWLINE# def save_lrate( lrate , lrate_file ) : #NEWLINE# #INDENT# file_open = smart_open ( lrate_file , 'w' ) #NEWLINE# file_open . write ( ( str ( lrate . epoch ) + '\n' ) ) #NEWLINE# file_open . write ( ( str ( lrate . rate ) + '\n' ) ) #NEWLINE# file_open . write ( ( str ( lrate . lowest_error ) + '\n' ) ) #NEWLINE# file_open . write ( ( str ( int ( lrate . decay ) ) + '\n' ) ) #NEWLINE# file_open . close ( )