code: def test_zero_dim_and_missing_dim(self):
      _test_reshape(
          old_shape=(4, 2, 1),
          new_shape=(0, -1, 0),
          expected_shape=(4, 2, 1),
      )
      _test_reshape(
          old_shape=(4, 2, 1),
          new_shape=(0, -1, 0),
          expected_shape=(4, 2, 1),
          arg_shape=False,
      )
      _test_reshape(
          old_shape=(4, 3, 2), new_shape=(-1, 0), expected_shape=(8, 3)
      )
      _test_reshape(
          old_shape=(4, 3, 2),
          new_shape=(-1, 0),
          expected_shape=(8, 3),
          arg_shape=False,
      )
  
file_path: pytorch/caffe2/python/ideep/reshape_op_test.py
imports: from caffe2.python.test_util import TestCase
  from caffe2.proto import caffe2_pb2
  import unittest
  import numpy
  from caffe2.python import core, workspace
label_desc: Use image node_id 7 for calling the TestReShapeOps obj's underlying member method code with example usage: obj.test_zero_dim_and_missing_dim() without return types