siju-samuel commented on a change in pull request #5394:
URL: https://github.com/apache/incubator-tvm/pull/5394#discussion_r426561425
##########
File path: tests/python/frontend/tflite/test_forward.py
##########
@@ -1552,6 +1552,48 @@ def test_forward_squeeze():
_test_squeeze(np.arange(6).reshape((2, 1, 3, 1)), [1, 3])
+#######################################################################
+# Quantize/DeQuantize
+# -------------------
+
+def _test_quantize_dequantize(data):
+ """ One iteration of quantize and dequantize """
+
+ import tensorflow as tf2
Review comment:
It's importing tensorflow.compat.v1 as tf. It doesn't have
tf2.lite.TFLiteConverter.from_keras_model
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]