def setup():
    """Setups any state specific to the execution of the given module."""
    os.chdir(get_example_dir("resnet"))

    # prepare model and data
    # retry since it fails randomly
    retry_func(run_subprocess, kwargs={"cmd": "python prepare_model_data.py", "check": True})
Setups any state specific to the execution of the given module.
examples/test/local/test_resnet_ptq_cpu.py