code: def testTensorShape(self):
      x = array_ops.zeros([1, 100])
      y = array_ops.reshape(
          x, [tensor_shape.Dimension(100), tensor_shape.Dimension(1)]
      )
      self.assertEqual([100, 1], y.get_shape().as_list())
      y = array_ops.reshape(x, tensor_shape.TensorShape([100, 1]))
      self.assertEqual([100, 1], y.get_shape().as_list())
  
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 24 for calling the ReshapeTest obj's underlying member method code with example usage: obj.testTensorShape() without return types