code: def testGraphNames(self):
      # Standard Usage.
      graph = mtf.Graph()
      self.assertEqual(graph.unique_name("a"), "a")
      self.assertEqual(graph.unique_name("a"), "a_1")
      self.assertEqual(graph.unique_name("a"), "a_2")
  
      # Edge cases, the user may choose the name "a_1".
      graph = mtf.Graph()
      self.assertEqual(graph.unique_name("a"), "a")
      self.assertEqual(graph.unique_name("a"), "a_1")
      self.assertEqual(graph.unique_name("a_1"), "a_1_1")
  
      graph = mtf.Graph()
      self.assertEqual(graph.unique_name("a"), "a")
      self.assertEqual(graph.unique_name("a_1"), "a_1")
      self.assertEqual(graph.unique_name("a"), "a_2")
  
      # Case insensitive.
      graph = mtf.Graph()
      self.assertEqual(graph.unique_name("a"), "a")
      self.assertEqual(graph.unique_name("A"), "A_1")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import mesh_tensorflow
  from mesh_tensorflow import test_utils
  import numpy
  import tensorflow.compat.v1
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 9 for calling the MeshTensorFlowTest obj's underlying member method code with example usage: obj.testGraphNames() without return types