code: def pytest_generate_tests(metafunc):
      """
      Test generator
      """
      # number of test to repeat
      test_indices = [0]
  
      # test params
      test_funcs = [
          TestFuncs.func_dot_reduction_mix,
          TestFuncs.func_dot_reduction_transpose_mix,
      ]
      test_tensor_flags = ["pos_rand", "neg_rand", "rand"]
      test_tensor_dims = [(2, 2)]
  
      # generate params for testing
      if "custom_args" in metafunc.fixturenames:
          fargs = itertools.product(
              test_indices,
              test_funcs,
              test_tensor_flags,
              test_tensor_dims,
          )
          # parameterize test call
          metafunc.parametrize("custom_args", fargs)
  
file_path: neon/tests/test_backend_compound_optree.py
imports: import itertools
  import numpy
  import os
  import pytest
  import subprocess
  from neon import NervanaObject
  from utils import call_func, gen_backend_tensors, tensors_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types