code: def _make_event(**kwargs):
      return event_pb2.Event(**kwargs).SerializeToString()
  
imports: import abc
  import io
  import os
  import unittest
  from unittest import mock
  from tensorboard import test
  from tensorboard.backend.event_processing import event_file_loader
  from tensorboard.compat import tf
  from tensorboard.compat.proto import event_pb2
  from tensorboard.summary.writer import record_writer
label_desc: Use image node_id 1 for calling a global function with example usage: _make_event() and returns: event_pb2