class_docstr: Test various APIs that have been changed in 1.0.
  
  This test will not run in current TensorFlow, but did run in 0.11.
  This file is intended to be converted by a genrule() that uses the converter
  so that a 1.0 compatible version of this file is generated. That is run as
  a unit test if the converter is successful.
code: def testBatchAndSvd(self):
      with self.cached_session():
          mat = [[1.0, 2.0], [2.0, 3.0]]
          batched_mat = tf.expand_dims(mat, [0])
          result = tf.matmul(mat, mat).eval()
          result_batched = tf.batch_matmul(
              batched_mat, batched_mat
          ).eval()
          self.assertAllEqual(result_batched, np.expand_dims(result, 0))
          self.assertAllEqual(
              tf.svd(mat, False, True).eval(),
              tf.svd(mat, compute_uv=False, full_matrices=True).eval(),
          )
  
file_path: tensorflow-upstream/tensorflow/tools/compatibility/testdata/test_file_v0_11.py
imports: import shutil
  import tempfile
  import numpy
  import tensorflow
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the TestUpgrade obj's underlying member method code with example usage: obj.testBatchAndSvd() without return types