code: def _process_event(event):
      for value in event.summary.value:
          yield {
              "wall_time": event.wall_time,
              "step": event.step,
              "value": value,
          }
  
imports: import itertools
  import pathlib
  import tempfile
  import numpy
  import tensorflow
  from absl.testing import absltest
  from tensorboard.backend.event_processing import directory_watcher, event_file_loader
  from tensorboard.util import tensor_util
  from flax.metrics.tensorboard import SummaryWriter, _flatten_dict
label_desc: Use image node_id 1 for calling a global function with example usage: _process_event(event) without return types