code: def _GenerateProjectorTestData(self):
      config_path = os.path.join(self.log_dir, "projector_config.pbtxt")
      config = projector_config_pb2.ProjectorConfig()
      embedding = config.embeddings.add()
      # Add an embedding by its canonical tensor name.
      embedding.tensor_name = "var1:0"
  
      with tf.io.gfile.GFile(
          os.path.join(self.log_dir, "bookmarks.json"), "w"
      ) as f:
          f.write('{"a": "b"}')
      embedding.bookmarks_path = "bookmarks.json"
  
      config_pbtxt = text_format.MessageToString(config)
      with tf.io.gfile.GFile(config_path, "w") as f:
          f.write(config_pbtxt)
  
      # Write a checkpoint with some dummy variables.
      with tf.Graph().as_default():
          sess = tf.compat.v1.Session()
          checkpoint_path = os.path.join(self.log_dir, "model")
          tf.compat.v1.get_variable(
              "var1", initializer=tf.constant(np.full([1, 2], 6.0))
          )
          tf.compat.v1.get_variable("var2", [10, 10])
          tf.compat.v1.get_variable("var3", [100, 100])
          sess.run(tf.compat.v1.global_variables_initializer())
          saver = tf.compat.v1.train.Saver(
              write_version=tf.compat.v1.train.SaverDef.V1
          )
          saver.save(sess, checkpoint_path)
  
imports: import gzip
  import io
  import json
  import os
  import numpy
  import tensorflow
  import unittest
  from werkzeug import test
  from werkzeug import wrappers
  from google.protobuf import text_format
  from tensorboard.backend import application
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.compat import tf
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.projector import projector_config_pb2
  from tensorboard.plugins.projector import projector_plugin
  from tensorboard.util import test_util
label_desc: Use image node_id 24 for calling the ProjectorAppTest obj's underlying member method code with example usage: obj._GenerateProjectorTestData() without return types