code: def main(cmd=None):
      r"""Speaker diarization training.
  
      Example:
          % python diar_train.py diar --print_config --optim adadelta \
                  > conf/train_diar.yaml
          % python diar_train.py --config conf/train_diar.yaml
      """
      DiarizationTask.main(cmd=cmd)
  
label_desc: Use image node_id 2 for calling a global function with example usage: main(cmd) without return types