code: def test_leaky_relu_reference_check(
      self, gc, dc, N, C, H, W, order, alpha, seed, inplace
  ):
      np.random.seed(seed)
  
      if order != "NCHW":
          assume(not inplace)
  
      inputs = self._get_inputs(N, C, H, W, order)
      op = self._get_op(
          device_option=gc, alpha=alpha, order=order, inplace=inplace
      )
  
      def ref(input_blob):
          result = input_blob.copy()
          result[result < 0] *= alpha
          return (result,)
  
      self.assertReferenceChecks(gc, op, inputs, ref)
  
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 6 for calling the TestLeakyRelu obj's underlying member method code with example usage: obj.test_leaky_relu_reference_check(gc, dc, N, C, H, W, order, alpha, seed, inplace) and returns: result