Skip to content

Commit f9ee0b3

Browse files
committed
docs(python): explain env vars in test runner
1 parent 97c6eab commit f9ee0b3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/tflite_micro/test_compression_unsupported.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def test_can_load_regular_after_legacy_failure(self):
8888

8989

9090
if __name__ == '__main__':
91+
# Suppress TF C++ info/debug logs (0=DEBUG, 1=INFO, 2=WARNING, 3=ERROR)
9192
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
93+
# Disable oneDNN to avoid non-deterministic floating point results
9294
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
9395
tf.test.main()

0 commit comments

Comments
 (0)