code: def generate_run(
      self, logdir, run_name, include_graph, include_run_metadata
  ):
      x, y = np.ones((10, 10)), np.ones((10, 1))
      val_x, val_y = np.ones((4, 10)), np.ones((4, 1))
  
      model = keras.Sequential(
          [
              keras.layers.Dense(10, activation="relu"),
              keras.layers.Dense(1, activation="sigmoid"),
          ]
      )
      model.compile("rmsprop", "binary_crossentropy")
  
      model.fit(
          x,
          y,
          validation_data=(val_x, val_y),
          batch_size=2,
          epochs=1,
          callbacks=[
              keras.callbacks.TensorBoard(
                  log_dir=os.path.join(logdir, run_name),
                  write_graph=include_graph,
              )
          ],
      )
  
file_path: tensorboard/tensorboard/plugins/graph/graphs_plugin_v2_test.py
imports: import numpy
  import os.path
  from google.protobuf import text_format
  import tensorflow
  from tensorboard.compat.proto import graph_pb2
  from tensorboard.plugins.graph import graphs_plugin_test
label_desc: Use image node_id 1 for calling the GraphsPluginV2Test obj's underlying member method code with example usage: obj.generate_run(logdir, run_name, include_graph, include_run_metadata) without return types