parameters: ()
return_statement: return args
docstring: Create a parser for dandere2x for the needed arguments.
          :return: ArgsParse for dandere2x.
docstring_summary: Create a parser for dandere2x for the needed arguments.
          :return: ArgsParse for dandere2x.
docstring_tokens: Create a parser for dandere2x for the needed arguments . : return : ArgsParse for dandere2x .
function: def get_args_parser():
          """
          Create a parser for dandere2x for the needed arguments.
          :return: ArgsParse for dandere2x.
          """
  
          parser = argparse.ArgumentParser()
  
          parser.add_argument('-c', '--config', action="store", dest="config", type=str,
                              default="./config_files/output_options.yaml",
                              help='Config path. Defaults to "./config_files/output_options.yaml"')
  
          parser.add_argument('-b', '--block_size', action="store", dest="block_size", type=int, default=30,
                              help='Block Size (Default 30)')
  
          parser.add_argument('-i', '--input', action="store", dest="input_file", help='Input Video (no default)')
  
          parser.add_argument('-o', '--output', action="store", dest="output_file", help='Output Video (no default)')
  
          parser.add_argument('-q', '--quality', action="store", dest="image_quality", type=int, default=97,
                              help='Image Quality (Default 85)')
  
          parser.add_argument('-w', '--waifu2x_type', action="store", dest="waifu2x_type", type=str, default="vulkan",
                              help='Waifu2x Type. Options: "vulkan" "converter_cpp" "caffe". Default: "vulkan"')
  
          parser.add_argument('-s', '--scale_factor', action="store", dest="scale_factor", type=int, default=2,
                              help='Scale Factor (Default 2)')
  
          parser.add_argument('-n', '--noise_level', action="store", dest="noise_level", type=int, default=3,
                              help='Denoise Noise Level (Default 3)')
  
          parser.add_argument('-p', '--process_type', action="store", dest="processing_type", type=str, default="single",
                              help='Processing Type (Options: "single", "multi"')
  
          parser.add_argument('-ws', '--workspace', action="store", dest="workspace", type=str, default="./workspace/",
                              help='Workspace directory for dandere2x.')
  
          args = parser.parse_args()
          return args
function_tokens: def get_args_parser ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( '-c' , '--config' , action = "store" , dest = "config" , type = str , default = "./config_files/output_options.yaml" , help = 'Config path. Defaults to "./config_files/output_options.yaml"' ) parser . add_argument ( '-b' , '--block_size' , action = "store" , dest = "block_size" , type = int , default = 30 , help = 'Block Size (Default 30)' ) parser . add_argument ( '-i' , '--input' , action = "store" , dest = "input_file" , help = 'Input Video (no default)' ) parser . add_argument ( '-o' , '--output' , action = "store" , dest = "output_file" , help = 'Output Video (no default)' ) parser . add_argument ( '-q' , '--quality' , action = "store" , dest = "image_quality" , type = int , default = 97 , help = 'Image Quality (Default 85)' ) parser . add_argument ( '-w' , '--waifu2x_type' , action = "store" , dest = "waifu2x_type" , type = str , default = "vulkan" , help = 'Waifu2x Type. Options: "vulkan" "converter_cpp" "caffe". Default: "vulkan"' ) parser . add_argument ( '-s' , '--scale_factor' , action = "store" , dest = "scale_factor" , type = int , default = 2 , help = 'Scale Factor (Default 2)' ) parser . add_argument ( '-n' , '--noise_level' , action = "store" , dest = "noise_level" , type = int , default = 3 , help = 'Denoise Noise Level (Default 3)' ) parser . add_argument ( '-p' , '--process_type' , action = "store" , dest = "processing_type" , type = str , default = "single" , help = 'Processing Type (Options: "single", "multi"' ) parser . add_argument ( '-ws' , '--workspace' , action = "store" , dest = "workspace" , type = str , default = "./workspace/" , help = 'Workspace directory for dandere2x.' ) args = parser . parse_args ( ) return args