• Home
Name Date Size #Lines LOC

..--

testdata/03-May-2024-129

BUILDD03-May-2024742 3632

README.mdD03-May-2024635 2213

model_coverage_lib.pyD03-May-202438.9 KiB985801

model_coverage_lib_test.pyD03-May-20248.2 KiB238174

model_coverage_quantization_test.pyD03-May-20245.9 KiB171118

README.md

1# TensorFlow Lite model coverage tests
2
3Various conversion tests on popular mobile models.
4
5
6## Golden values
7
8Some tests rely on pre-computed golden values. The main goal is to detect
9changes affecting unintended parts of TFLite.
10
11Should a golden value test fail after an intended change, the golden values can
12be updated with the following command:
13
14```
15bazel run //third_party/tensorflow/lite/testing/model_coverage:<target> --test_output=all -- --update_goldens
16```
17
18Notice `bazel run` instead of `bazel test` and the addition of the
19`--update_golden` flag.
20
21The updated golden data files must then be included in the change list.
22