code: def create_experiment():
      hparam_infos = hparams_util_pb2.HParamInfosList()
      text_format.Merge(FLAGS.hparam_infos, hparam_infos)
      metric_infos = hparams_util_pb2.MetricInfosList()
      text_format.Merge(FLAGS.metric_infos, metric_infos)
      write_summary(
          summary.experiment_pb(
              hparam_infos.hparam_infos,
              metric_infos.metric_infos,
              FLAGS.user,
              FLAGS.description,
              FLAGS.time_created_secs,
          )
      )
  
file_path: tensorboard/tensorboard/plugins/hparams/hparams_util.py
imports: import getpass
  import time
  from absl import app
  from absl import flags
  from google.protobuf import struct_pb2
  from google.protobuf import text_format
  import tensorflow
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import hparams_util_pb2
  from tensorboard.plugins.hparams import summary
label_desc: Use image node_id 2 for calling a global function with example usage: create_experiment() without return types