code: def testGraph(self):
      graph = mtf.Graph()
      self.assertEmpty(graph.operations)
      self.assertEmpty(graph.trainable_variables)
      self.assertEmpty(graph.all_variables)
      mesh = mtf.Mesh(graph, "mesh_test")
      _ = mtf.import_tf_tensor(
          mesh, tf_tensor=tf.constant(0.0), shape=mtf.Shape([])
      )
      self.assertLen(graph.operations, 1)
      self.assertEmpty(graph.trainable_variables)
      self.assertEmpty(graph.all_variables)
      _ = mtf.get_variable(
          mesh, "variable_0", mtf.Shape([]), trainable=True
      )
      self.assertLen(graph.operations, 2)
      self.assertLen(graph.trainable_variables, 1)
      self.assertLen(graph.all_variables, 1)
      _ = mtf.get_variable(
          mesh, "variable_1", mtf.Shape([]), trainable=False
      )
      self.assertLen(graph.operations, 3)
      self.assertLen(graph.trainable_variables, 1)
      self.assertLen(graph.all_variables, 2)
  
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 8 for calling the MeshTensorFlowTest obj's underlying member method code with example usage: obj.testGraph() without return types