code: def start_session():
      hparams = hparams_util_pb2.HParams()
      text_format.Merge(FLAGS.hparams, hparams)
      # Convert hparams.hparams values from google.protobuf.Value to Python native
      # objects.
      hparams = {
          key: value_to_python(value)
          for (key, value) in hparams.hparams.items()
      }
      write_summary(
          summary.session_start_pb(
              hparams,
              FLAGS.model_uri,
              FLAGS.monitor_url,
              FLAGS.group_name,
              FLAGS.start_time_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 3 for calling a global function with example usage: start_session() without return types