code: def test_reshape_ops(self):
      workspace.FeedBlob(
          "res", np.array([[0, 0, 0, 0]], dtype=np.float32)
      )
      workspace.FeedBlob("shape", np.array([1, 4], dtype=np.int32))
      workspace.FeedBlob("input", np.zeros((2, 2), dtype=np.float32))
      workspace.RunOperatorOnce(
          core.CreateOperator(
              "Reshape", ["input", "shape"], ["output", "old_shape"]
          )
      )
      assert_array_equal(
          workspace.FetchBlob("output"), workspace.FetchBlob("res")
      )
  
imports: import numpy
  from numpy.testing import assert_array_equal
  from caffe2.python import core, workspace
  from caffe2.python.test_util import TestCase
  from caffe2.proto import caffe2_pb2
label_desc: Use image node_id 2 for calling the TestLengthsToShapeOps obj's underlying member method code with example usage: obj.test_reshape_ops() without return types