code: def create_argparser():
      defaults = dict(
          clip_denoised=True,
          num_samples=10000,
          batch_size=16,
          use_ddim=False,
          model_path="",
      )
      defaults.update(model_and_diffusion_defaults())
      parser = argparse.ArgumentParser()
      add_dict_to_argparser(parser, defaults)
      return parser
  
file_path: improved-diffusion/scripts/image_sample.py
imports: import argparse
  import os
  import numpy
  import torch
  import torch.distributed
  from improved_diffusion import dist_util, logger
  from improved_diffusion.script_util import NUM_CLASSES, model_and_diffusion_defaults, create_model_and_diffusion, add_dict_to_argparser, args_to_dict
label_desc: Use image node_id 2 for calling a global function with example usage: create_argparser() and returns: parser