code: def test_GraphInterface(self):
      graph = self.estimator.get_graph_interface()
      self.assertCountEqual(
          list(graph.get_all_operation_names()), ["X", "Y", "Z"]
      )
  
      self.assertEqual(
          graph.get_tensor_shape("X:0"), tf.TensorShape([3, 4])
      )
      self.assertEqual(
          graph.get_tensor_shape("Z:0"), tf.TensorShape([3, 5])
      )
      self.assertFalse(graph.is_tensor_final("Y:0"))
      self.assertTrue(graph.is_tensor_final("Z:0"))
  
file_path: mesh/mesh_tensorflow/auto_mtf/memory_estimator_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mesh_tensorflow
  from mesh_tensorflow.auto_mtf import memory_estimator
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the MemoryEstimatorTest obj's underlying member method code with example usage: obj.test_GraphInterface() without return types