keras/benchmarks/torch_ctl_benchmark
2023-09-22 09:29:36 -07:00
..
__init__.py Add torch benchmark to compare performance when using torch CTL (#287) 2023-06-07 18:38:56 -07:00
benchmark_utils.py Add torch benchmark to compare performance when using torch CTL (#287) 2023-06-07 18:38:56 -07:00
conv_model_benchmark.py Convert Keras Core to Keras 3. 2023-09-22 09:29:36 -07:00
dense_model_benchmark.py Convert Keras Core to Keras 3. 2023-09-22 09:29:36 -07:00
README.md Update symbolic_arguments.py (#513) 2023-07-18 21:57:40 +05:30

Benchmark the performance of torch custom training loop

This directory contains benchmarks to compare the performance of a Keras model and a equivalent Torch model while using the same Torch custom training loop.

The benchmark purpose is to understand the performance diff resulting from the modeling API choice (Keras or Torch).

To run the benchmark, use the command below and change to your target:

python3 -m benchmarks.torch_ctl_benchmark.conv_model_benchmark