code: def _convert_tensor_event(event):
      """Helper for `read_tensors`."""
      return provider.TensorDatum(
          step=event.step,
          wall_time=event.wall_time,
          numpy=tensor_util.make_ndarray(event.tensor_proto),
      )
  
imports: import base64
  import collections
  import json
  import random
  from tensorboard import errors
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.data import provider
  from tensorboard.util import tb_logging
  from tensorboard.util import tensor_util
label_desc: Use image node_id 4 for calling a global function with example usage: _convert_tensor_event(event) and returns: provider