code: def test_convert_mtf_tensor_to_np_array_with_trainable_variable(self):
      converter = test_utils.NumpyConverter()
      shape = mtf.Shape(
          [mtf.Dimension("dim0", 2), mtf.Dimension("dim1", 3)]
      )
      x_mtf = mtf.get_variable(
          converter.mesh,
          name="x",
          shape=shape,
          dtype=tf.float32,
          initializer=tf.zeros_initializer(),
      )
      actual = converter.convert_mtf_tensor_to_np_array(x_mtf)
      self.assertAllClose(np.zeros_like(actual), actual)
  
file_path: mesh/mesh_tensorflow/test_utils_test.py
imports: 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 2 for calling the TestUtilsTest obj's underlying member method code with example usage: obj.test_convert_mtf_tensor_to_np_array_with_trainable_variable() without return types