(add_help=True)
return args
get_args

    Parse all args using argparse lib

    Args:
        add_help: Whether to add -h option on args

    Returns:
        An object which contains many parameters used for inference.
get_args
get_args
def get_args(add_help=True):
    """get_args

    Parse all args using argparse lib

    Args:
        add_help: Whether to add -h option on args

    Returns:
        An object which contains many parameters used for inference.
    """
    import argparse
    parser = argparse.ArgumentParser(
        description='PaddlePaddle Args', add_help=add_help)
    args = parser.parse_args()
    return args
def get_args ( add_help = True ) : import argparse parser = argparse . ArgumentParser ( description = 'PaddlePaddle Args' , add_help = add_help ) args = parser . parse_args ( ) return args