docstr: Tests proper creation of tensor summary with mesh plugin
  metadata.
docstr_tok: ["Tests","proper","creation","of","tensor","summary","with","mesh","plugin","metadata","."]
code: def test_get_tensor_summary(self):
      """Tests proper creation of tensor summary with mesh plugin
      metadata."""
      name = "my_mesh"
      display_name = "my_display_name"
      description = "my mesh is the best of meshes"
      tensor_data = test_utils.get_random_mesh(100)
      components = 14
      with tf.compat.v1.Graph().as_default():
          tensor_summary = summary._get_tensor_summary(
              name,
              display_name,
              description,
              tensor_data.vertices,
              plugin_data_pb2.MeshPluginData.VERTEX,
              components,
              "",
              None,
          )
          with self.test_session():
              proto = self.pb_via_op(tensor_summary)
              self.assertEqual("%s_VERTEX" % name, proto.value[0].tag)
              self.assertEqual(
                  metadata.PLUGIN_NAME,
                  proto.value[0].metadata.plugin_data.plugin_name,
              )
              self.assertEqual(
                  components, self.get_components(proto.value[0])
              )
  
file_path: tensorboard/tensorboard/plugins/mesh/summary_test.py
imports: import json
  import tensorflow
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.mesh import summary
  from tensorboard.plugins.mesh import metadata
  from tensorboard.plugins.mesh import plugin_data_pb2
  from tensorboard.plugins.mesh import test_utils
label_desc: Use image node_id 4 for calling the MeshSummaryTest obj's underlying member method code with example usage: obj.test_get_tensor_summary() without return types