code: def pytest_generate_tests(metafunc):
      if metafunc.config.option.all:
          bsz_rng = [16, 32, 64]
      else:
          bsz_rng = [128]
  
      if "basic_linargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              nin_rng = [1, 2, 1023, 1024, 1025]
              nout_rng = [1, 4, 1023, 1024, 1025]
          else:
              nin_rng = [4, 32]
              nout_rng = [3, 33]
          fargs = itt.product(nin_rng, nout_rng, bsz_rng)
          metafunc.parametrize("basic_linargs", fargs)
  
      if "allrand_args" in metafunc.fixturenames:
          fargs = []
          eps = np.finfo(np.float32).eps
          # weight ranges
          w_rng = [[0.0, 1.0], [-1.0, 0.0], [-1.0, 1.0]]
          if metafunc.config.option.all:
              rng_max = [eps, eps * 10, 1.0, 2048.0, 1.0e6, 1.0e10]
          else:
              rng_max = [eps, 1.0, 1.0e10]
          fargs = itt.product(w_rng, rng_max)
          metafunc.parametrize("allrand_args", fargs)
  
file_path: neon/tests/test_linear_layer.py
imports: import itertools
  import numpy
  from neon import NervanaObject
  from neon.initializers.initializer import Uniform
  from neon.layers.layer import Linear
  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