code: def define_flags():
      """define flags for evaluator"""
      # The GPU devices which are visible for current process
      flags.DEFINE_string("gpu", "", "same to CUDA_VISIBLE_DEVICES")
      flags.DEFINE_string(
          "config", None, help="path to yaml config file"
      )
      flags.DEFINE_enum(
          "mode",
          "eval",
          ["eval", "infer", "eval_and_infer"],
          "eval or infer",
      )
      flags.DEFINE_bool("debug", False, "debug mode")
      # https://github.com/abseil/abseil-py/blob/master/absl/flags/_validators.py#L330
      flags.mark_flags_as_required(["config", "mode"])
  
file_path: delta/egs/iemocap/emo/v1/utils/run_saved_model.py
imports: import os
  from absl import logging
  from absl import flags
  from absl import app
  from delta import utils
  from delta.utils.register import registers
  from delta.utils.register import import_all_modules_for_register
label_desc: Use image node_id 2 for calling a global function with example usage: define_flags() without return types