code: def test_nhwc2nchw(self, X, engine, gc, dc):
      op = core.CreateOperator("NHWC2NCHW", ["X"], ["Y"], engine=engine)
  
      def nhwc2nchw_ref(X):
          return (utils.NHWC2NCHW(X),)
  
      self.assertReferenceChecks(gc, op, [X], nhwc2nchw_ref)
      self.assertGradientChecks(gc, op, [X], 0, [0])
      self.assertDeviceChecks(dc, op, [X], [0])
  
imports: import caffe2.python.hypothesis_test_util
  import hypothesis.strategies
  from caffe2.python import core, utils
  from hypothesis import given, settings
label_desc: Use image node_id 2 for calling the OrderSwitchOpsTest obj's underlying member method code with example usage: obj.test_nhwc2nchw(X, engine, gc, dc) and returns: utils