Skip to content

Commit c034f7d

Browse files
committed
run test with "pytest -s tests/tflm"
1 parent 5baed55 commit c034f7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/tflm/tflite_export/test_write.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,6 @@ def test_tflite_fb_write(hybrid_quant_output):
110110
print("out2 :", test_model.get_tensor(test_model.get_output_details()[2]["index"]))
111111

112112

113-
test_pass = True
114-
assert test_pass, 'error message here'
113+
output = test_model.get_tensor(test_model.get_output_details()[2]["index"])
114+
115+
assert np.abs(output - 707) <= 0.0001, 'error is greater than 0.0001'

0 commit comments

Comments
 (0)