def pytest_generate_tests(metafunc):
    N_C_K = [
        (64, 64, 64),
        (32, 1, 128),
    ]

    D_H_W = [
        (3, 7, 58),
        (3, 13, 68),
    ]

    T_R_S = [
        (3, 3, 3),
        (1, 3, 3),
        (1, 1, 5),
    ]

    pad_d_h_w = [
        (0, 1, 1),
        (0, 0, 1),
    ]

    str_d_h_w = [
        (1, 1, 1),
        (1, 1, 2),
    ]

    if 'fargs_tests' in metafunc.fixturenames:
        fargs = itt.product(N_C_K, D_H_W, T_R_S, pad_d_h_w, str_d_h_w)
        metafunc.parametrize("fargs_tests", fargs)
Build a list of test arguments.
dataset/ETHPy150Open NervanaSystems/neon/neon/backends/tests/test_backend_conv_layer.py/pytest_generate_tests