code: def pytest_generate_tests(metafunc):
      np.random.seed(1)
      if metafunc.config.option.all:
          bsz_rng = [32, 64]
      else:
          bsz_rng = [128]
  
      if "zeros_convargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              fs_rng = [2, 3, 5, 7]
              nofm_rng = [16, 32]
          else:
              fs_rng = [2, 5]
              nofm_rng = [16]
          fargs = itt.product(fs_rng, nofm_rng, bsz_rng)
          metafunc.parametrize("zeros_convargs", fargs)
  
      if "ones_convargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              bsz_rng = [64]
              indim_rng = [16, 32]
              nifm_rng = [3, 4, 32]
              fs_rng = [2, 3]
              stride_rng = [1, 2]
              nofm_rng = [16, 32, 64]
              pad_rng = [0, 1, 2]
              fargs1 = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  pad_rng,
              )
              fs_rng = [5]
              stride_rng = [1, 5]
              fargs2 = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  pad_rng,
              )
              fargs = itt.chain(fargs1, fargs2)
          else:
              bsz_rng = [64]
              indim_rng = [32]
              nifm_rng = [4]
              fs_rng = [2, 5]
              nofm_rng = [16]
              stride_rng = [1, 2]
              pad_rng = [0, 1]
              fargs = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  pad_rng,
              )
          metafunc.parametrize("ones_convargs", fargs)
  
      if "rand_convargs" in metafunc.fixturenames:
          fargs = []
          eps = np.finfo(np.float32).eps
          if metafunc.config.option.all:
              indim_rng = [16, 32]
              nifm_rng = [3, 4]
              fs_rng = [2, 3]
              nofm_rng = [16]
              rng_max_rng = [eps, eps * 10, 1.0, 100]
              wrng = [[0.0, 1.0], [-1.0, 0.0], [-1.0, 1.0]]
              stride_rng = [1, 2, 3]
              pad_rng = [0, 1, 2]
              fargs1 = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  rng_max_rng,
                  wrng,
                  pad_rng,
              )
              fs_rng = [5]
              stride_rng = [1, 5]
              fargs2 = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  rng_max_rng,
                  wrng,
                  pad_rng,
              )
              fargs = itt.chain(fargs1, fargs2)
          else:
              indim_rng = [16]
              nifm_rng = [3, 4]
              fs_rng = [2, 5]
              nofm_rng = [16]
              rng_max_rng = [2.0]
              stride_rng = [1, 2]
              wrng = [[-1.0, 1.0]]
              pad_rng = [0, 1]
              fargs = itt.product(
                  indim_rng,
                  nifm_rng,
                  fs_rng,
                  nofm_rng,
                  bsz_rng,
                  stride_rng,
                  rng_max_rng,
                  wrng,
                  pad_rng,
              )
          metafunc.parametrize("rand_convargs", fargs)
  
imports: import itertools
  import numpy
  import pytest
  from neon import NervanaObject
  from neon.layers.layer import Convolution
  from neon.initializers.initializer import Uniform
  from utils import allclose_with_out
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types