code: def parse_tensor_name(tensor_name):
      """Helper function that extracts op name and slot from tensor name."""
      output_slot = 0
      if ":" in tensor_name:
          op_name, output_slot = tensor_name.split(":")
          output_slot = int(output_slot)
      else:
          op_name = tensor_name
      return op_name, output_slot
  
imports: import threading
  from tensorboard import errors
label_desc: Use image node_id 3 for calling a global function with example usage: parse_tensor_name(tensor_name) and returns: op_name,  output_slot