code: def test_leaky_relu_layout(self, gc, dc, N, C, H, W, alpha, seed):
      outputs = {}
      for order in ("NCHW", "NHWC"):
          np.random.seed(seed)
          input_blobs = self._get_inputs(N, C, H, W, order)
          self._feed_inputs(input_blobs, device_option=gc)
          op = self._get_op(device_option=gc, alpha=alpha, order=order)
          self.ws.run(op)
          outputs[order] = self.ws.blobs["output"].fetch()
      np.testing.assert_allclose(
          outputs["NCHW"],
          utils.NHWC2NCHW(outputs["NHWC"]),
          atol=1e-4,
          rtol=1e-4,
      )
  
file_path: pytorch/caffe2/python/operator_test/leaky_relu_test.py
imports: import numpy
  from hypothesis import given, assume
  import hypothesis.strategies
  from caffe2.python import core, model_helper, utils
  import caffe2.python.hypothesis_test_util
label_desc: Use image node_id 5 for calling the TestLeakyRelu obj's underlying member method code with example usage: obj.test_leaky_relu_layout(gc, dc, N, C, H, W, alpha, seed) without return types