code: def pytest_generate_tests(metafunc):
      if metafunc.config.option.all:
          bsz_rng = [32, 64]
      else:
          bsz_rng = [32]
  
      if "zeros_convargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              fs_rng = [2, 3]
              nfm_rng = [8, 16]
          else:
              fs_rng = [2]
              nfm_rng = [16]
          fargs = itt.product(fs_rng, nfm_rng, bsz_rng)
          metafunc.parametrize("zeros_convargs", fargs)
  
      if "ones_convargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              indim_rng = [8, 16]
              nifm_rng = [8, 16, 32]
              fs_rng = [2, 3, 5]
              nofm_rng = [1, 8, 16]
          else:
              indim_rng = [32]
              nifm_rng = [8]
              fs_rng = [2]
              nofm_rng = [16]
          fargs = itt.product(
              indim_rng, nifm_rng, fs_rng, nofm_rng, bsz_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 = [8, 16]
              nifm_rng = [8, 16]
              fs_rng = [3]
              nofm_rng = [4]
              rng_max_rng = [eps, eps * 10, 1.0, 1e6, 1e10]
              wrng = [[0.0, 1.0], [-1.0, 0.0], [-1.0, 1.0]]
          else:
              indim_rng = [16]
              nifm_rng = [8]
              fs_rng = [3]
              nofm_rng = [4]
              rng_max_rng = [1.0, 10.0]
              wrng = [[0.0, 1.0], [-1.0, 0.0], [-1.0, 1.0]]
          fargs = itt.product(
              indim_rng,
              nifm_rng,
              fs_rng,
              nofm_rng,
              bsz_rng,
              rng_max_rng,
              wrng,
          )
          metafunc.parametrize("rand_convargs", fargs)
  
file_path: neon/tests/test_deconv_layer.py
imports: import itertools
  import numpy
  import pytest
  from neon import NervanaObject
  from neon.layers import Deconvolution
  from neon.initializers 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