euntaik commented on a change in pull request #7736:
URL: https://github.com/apache/tvm/pull/7736#discussion_r602017703
##########
File path: tests/python/frontend/tflite/test_forward.py
##########
@@ -1043,74 +1049,118 @@ def _test_convolution(
def test_forward_convolution():
for quantized in [False, True]:
- _test_convolution(
- [4, 8, 8, 176], [1, 1, 176, 32], [1, 1], [1, 1], "SAME", "NHWC",
quantized=quantized
- )
- _test_convolution(
- [4, 17, 17, 19], [3, 3, 19, 19], [1, 1], [2, 2], "VALID", "NHWC",
quantized=quantized
- )
- _test_convolution(
- [4, 17, 17, 124], [1, 1, 124, 19], [1, 1], [1, 1], "SAME", "NHWC",
quantized=quantized
- )
- _test_convolution(
- [4, 17, 17, 12], [3, 3, 12, 32], [1, 1], [2, 2], "VALID", "NHWC",
quantized=quantized
- )
+ for fp16_quantized in [False, True]:
+ if quantized and fp16_quantized:
+ continue
Review comment:
fp16 quantized path doesn't go through quantized path.
quantized=True and fp16_quantzied=True goes through same code as
quantized=False and fp16_quantize=True. So I just wanted to reduce the test
time here.
--
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]