anijain2305 commented on a change in pull request #7736:
URL: https://github.com/apache/tvm/pull/7736#discussion_r611824736
##########
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:
Sorry for the delay. Yes, please. Can you restructure the test such that
there is no need of skipping code. One might be confused while reading the code
otherwise.
--
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]