code: def define_flags():
      """Define flags for the program."""
      flags.DEFINE_string("config", "", "config path")
      flags.DEFINE_string(
          "cmd",
          "",
          "train, eval, infer, train_and_eval, export_model, gen_feat, gen_cmvn, build",
      )
      flags.DEFINE_bool("test", "False", "run all unit test")
      flags.DEFINE_bool("dry_run", "False", "dry run, to no save file")
      flags.DEFINE_bool("log_debug", "False", "logging debug switch")
      flags.DEFINE_string("name", "", "Data set name")
      flags.DEFINE_string("dir", "", "Data set directory")
  
file_path: delta/delta/main.py
imports: import random
  import numpy
  import delta.compat
  from absl import flags
  from absl import app
  from absl import logging
  from delta import utils
  from delta.utils.register import registers
  from delta.utils.register import import_all_modules_for_register
  from delta.data.datasets.build import build_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: define_flags() without return types