code: def fingerprint(string):
      m = hashlib.md5()
      m.update(string.encode("utf-8"))
      return m.hexdigest()
  
file_path: tensorboard/tensorboard/plugins/hparams/hparams_minimal_demo.py
imports: import hashlib
  import math
  import os.path
  import shutil
  import tensorflow.compat.v1
  from absl import flags
  from absl import app
  from google.protobuf import struct_pb2
  from tensorboard.plugins.scalar import summary
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import summary
label_desc: Use image node_id 2 for calling a global function with example usage: fingerprint(string) and returns: m