Skip to content

Commit

Permalink
Review comment fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
siju-samuel committed May 18, 2020
1 parent 13535b4 commit 84d4b76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/frontend/tflite/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,8 @@ def representative_data_gen():
def test_forward_quantize_dequantize():
""" Quantize Dequantize """
data = np.random.uniform(0, 1, (1, 4, 4, 3)).astype("float32")
_test_quantize_dequantize(data)
if package_version.parse(tf.VERSION) >= package_version.parse('2.0.0'):
_test_quantize_dequantize(data)


#######################################################################
Expand Down

0 comments on commit 84d4b76

Please sign in to comment.