Benchmark inference on simple convolutional network. Arguments: benchmark: Fixture that benchmarks any function passed get_clients: Fixture that returns a list of clients
(benchmark, get_clients: Callable[[int], List[Any]])
| 10 | |
| 11 | |
| 12 | def test_run_inference_conv_model(benchmark, get_clients: Callable[[int], List[Any]]): |
| 13 | """Benchmark inference on simple convolutional network. |
| 14 | |
| 15 | Arguments: |
| 16 | benchmark: Fixture that benchmarks any function passed |
| 17 | get_clients: Fixture that returns a list of clients |
| 18 | """ |
| 19 | expected, mpc_model, x_mpc = set_up_model(get_clients) |
| 20 | benchmark(run_inference_conv_model, expected, mpc_model, x_mpc) |
nothing calls this directly
no test coverage detected