code: def _testZeroDimReshape(self, x, shape, expected, use_gpu=False):
      with self.cached_session(use_gpu=use_gpu):
          y = array_ops.reshape(x, shape)
          out = self.evaluate(y)
          self.assertEqual(expected, out.shape)
  
          # Repeat with an int64 shape tensor.
          shape64 = constant_op.constant(shape, dtype=dtypes.int64)
          y = array_ops.reshape(x, shape64)
          out = self.evaluate(y)
          self.assertEqual(expected, out.shape)
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the ReshapeTest obj's underlying member method code with example usage: obj._testZeroDimReshape(x, shape, expected, use_gpu) without return types