code: def pytest_generate_tests(metafunc):
      # main test generator
      # generates the parameter combos for
      # the tests based on whether the
      # "--all" option is given to py.test
      # that option is added in conftest.py
  
      # global parameter
      if metafunc.config.option.all:
          bsz_rng = [8]  # [16, 32]
      else:
          bsz_rng = [8]
  
      if "lrnargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              nin_rng = [5, 6]
              nifm_rng = [1, 2, 4]
              fs_rng = [3, 5]
          else:
              nin_rng = [2]
              nifm_rng = [7, 20]
              fs_rng = [3, 5]
          fargs = itt.product(nin_rng, nifm_rng, fs_rng, bsz_rng)
          metafunc.parametrize("lrnargs", fargs)
  
file_path: neon/tests/test_gradient_lrn.py
imports: import itertools
  import numpy
  import pytest
  from neon import NervanaObject
  from neon.layers.layer import LRN
  from grad_funcs import general_gradient_comp
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types