code: def pytest_generate_tests(metafunc):
      if "fargs" in metafunc.fixturenames:
          fargs = []
          if metafunc.config.option.all:
              shape1_rng = [2, 3, 4, 5]
              shape2_rng = [3, 5, 10, 20]
              mag_rng = [3, 5, 10, 20]
              sigma_rng = [1.0, 3.0, 5.0]
          else:
              shape1_rng = [3]
              shape2_rng = [5]
              mag_rng = [10]
              sigma_rng = [1.0, 3.0]
          fargs = itt.product(
              shape1_rng, shape2_rng, mag_rng, sigma_rng
          )
          metafunc.parametrize("fargs", fargs)
  
imports: import itertools
  import numpy
  from neon import NervanaObject
  from neon.backends import gen_backend
  from neon.transforms import CrossEntropyBinary, CrossEntropyMulti, SumSquared, MeanSquared, Misclassification, PrecisionRecall, SmoothL1Loss, SquareHingeLoss
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types