Skip to content

Commit

Permalink
run test with "pytest -s tests/tflm"
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-tan committed Nov 29, 2019
1 parent 5baed55 commit c034f7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tflm/tflite_export/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ def test_tflite_fb_write(hybrid_quant_output):
print("out2 :", test_model.get_tensor(test_model.get_output_details()[2]["index"]))


test_pass = True
assert test_pass, 'error message here'
output = test_model.get_tensor(test_model.get_output_details()[2]["index"])

assert np.abs(output - 707) <= 0.0001, 'error is greater than 0.0001'

0 comments on commit c034f7d

Please sign in to comment.