code: def create_student_experiment(run_config, hparams, argv):
      """Creates experiment function."""
      tf.logging.info("training student")
      tf.logging.set_verbosity(tf.logging.INFO)
      trainer_lib.set_random_seed(FLAGS.random_seed)
      usr_dir.import_usr_dir(FLAGS.t2t_usr_dir)
      t2t_trainer.maybe_log_registry_and_exit()
  
      if FLAGS.cloud_mlengine:
          return cloud_mlengine.launch()
  
      if FLAGS.generate_data:
          t2t_trainer.generate_data()
  
      if cloud_mlengine.job_dir():
          FLAGS.output_dir = cloud_mlengine.job_dir()
  
      if argv:
          t2t_trainer.set_hparams_from_args(argv[1:])
  
      hparams.add_hparam("teacher_dir", FLAGS.teacher_dir)
      hparams.add_hparam("student_dir", FLAGS.student_dir)
      hparams.distill_phase = "distill"
      exp_fn = t2t_trainer.create_experiment_fn()
      exp = exp_fn(run_config, hparams)
      return exp
  
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 3 for calling a global function with example usage: create_student_experiment(run_config, hparams, argv) and returns: exp, cloud_mlengine