code: def create_experiment_fn(argv, train_teacher):
      def teacher_experiment_fn(run_config, hparams):
          return create_teacher_experiment(run_config, hparams, argv)
  
      def student_experiment_fn(run_config, hparams):
          return create_student_experiment(run_config, hparams, argv)
  
      return (
          teacher_experiment_fn
          if train_teacher
          else student_experiment_fn
      )
  
file_path: tensor2tensor/tensor2tensor/bin/t2t_distill.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from tensor2tensor import models
  from tensor2tensor import problems
  from tensor2tensor.bin import t2t_trainer
  from tensor2tensor.utils import cloud_mlengine
  from tensor2tensor.utils import flags
  from tensor2tensor.utils import trainer_lib
  from tensor2tensor.utils import usr_dir
  import tensorflow.compat.v1
label_desc: Use image node_id 4 for calling a global function with example usage: create_experiment_fn(argv, train_teacher) and returns: unknown, create_teacher_experiment, create_student_experiment