(neon_args, neon_root_yaml)
Display model parameters
    :param      neon_args: contains command line arguments,
    :param neon_root_yaml: contains YAML elements
Display model parameters
    :param      neon_args: contains command line arguments,
    :param neon_root_yaml: contains YAML elements
Display model parameters : param neon_args : contains command line arguments : param neon_root_yaml : contains YAML elements
def display_model_params(neon_args, neon_root_yaml):
    """
    Display model parameters
    :param      neon_args: contains command line arguments,
    :param neon_root_yaml: contains YAML elements
    """
    output_string = '\n-- INFORMATION: HYPER PARAMETERS ------\n'
    try:
        output_string = add_param_to_output(output_string,
                                            'backend',
                                            neon_args.backend)
        output_string = add_param_to_output(output_string,
                                            'batch size',
                                            neon_args.batch_size)
        output_string = add_param_to_output(output_string,
                                            'epochs',
                                            neon_args.epochs)
        output_string = add_param_to_output(output_string,
                                            'optimizer type',
                                            neon_root_yaml['optimizer']['type'])
        output_string = add_param_to_output(output_string,
                                            'learning rate',
                                            neon_root_yaml['optimizer']['config']['learning_rate'])
        output_string = add_param_to_output(output_string,
                                            'momentum coef',
                                            neon_root_yaml['optimizer']['config']['momentum_coef'])
    except Exception:
        output_string += 'Some parameters cannot be displayed\n'
    output_string += '----------------------------------------'
    neon_logger.display(output_string)
def display_model_params ( neon_args , neon_root_yaml ) : output_string = '\n-- INFORMATION: HYPER PARAMETERS ------\n' try : output_string = add_param_to_output ( output_string , 'backend' , neon_args . backend ) output_string = add_param_to_output ( output_string , 'batch size' , neon_args . batch_size ) output_string = add_param_to_output ( output_string , 'epochs' , neon_args . epochs ) output_string = add_param_to_output ( output_string , 'optimizer type' , neon_root_yaml [ 'optimizer' ] [ 'type' ] ) output_string = add_param_to_output ( output_string , 'learning rate' , neon_root_yaml [ 'optimizer' ] [ 'config' ] [ 'learning_rate' ] ) output_string = add_param_to_output ( output_string , 'momentum coef' , neon_root_yaml [ 'optimizer' ] [ 'config' ] [ 'momentum_coef' ] ) except Exception : output_string += 'Some parameters cannot be displayed\n' output_string += '----------------------------------------' neon_logger . display ( output_string )