code: def process_args(args):
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--model",
          default="small",
          choices=["small", "medium", "large"],
          help="A type of model. Possible options are: small, medium, large.",
      )
      parameters = parser.parse_args(args)
      return parameters
  
file_path: TensorLayer/examples/text_ptb/tutorial_ptb_lstm.py
imports: import argparse
  import sys
  import time
  import numpy
  import tensorflow
  import tensorlayer
  from tensorlayer.models import Model
label_desc: Use image node_id 1 for calling a global function with example usage: process_args(args) and returns: parameters