human
Here's a good function header given the following:
I wrote the below code

    be = gen_backend(backend=request.param[0], datatype=request.param[1], batch_size=128, device_id=request.config.getoption('--device_id'), rng_seed=0)
    def cleanup():
        be = request.getfixturevalue('backend_tests')
        del be
    request.addfinalizer(cleanup)
    return be

What's a good function header?
assistant
#Here's a good function header.

@pytest.fixture(scope='module', params=list(gpu_cpu_32_16), ids=idfunc)
def backend_tests(request):