code: def test_visualize_embeddings_with_logdir(self):
      logdir = self.get_temp_dir()
      config = create_dummy_config()
      projector.visualize_embeddings(logdir, config)
  
      # Read the configurations from disk and make sure it matches the original.
      with tf.io.gfile.GFile(
          os.path.join(logdir, "projector_config.pbtxt")
      ) as f:
          config2 = projector.ProjectorConfig()
          text_format.Parse(f.read(), config2)
  
      self.assertEqual(config, config2)
  
file_path: tensorboard/tensorboard/plugins/projector/projector_api_test.py
imports: import os
  import tensorflow
  from google.protobuf import text_format
  from tensorboard.plugins import projector
  from tensorboard.util import test_util
label_desc: Use image node_id 1 for calling the ProjectorApiTest obj's underlying member method code with example usage: obj.test_visualize_embeddings_with_logdir() without return types