FrozenGene commented on a change in pull request #4543: [FRONTEND][TFLITE] Add
support for TFLite_Detection_PostProcess
URL: https://github.com/apache/incubator-tvm/pull/4543#discussion_r371281677
##########
File path: tests/python/frontend/tflite/test_forward.py
##########
@@ -1113,6 +1113,49 @@ def test_forward_fully_connected():
_test_fully_connected([5, 1, 1, 150], [150, 100], [100])
+#######################################################################
+# Custom Operators
+# -------
+
+def test_detection_postprocess():
+ tf_model_file = tf_testing.get_workload_official(
+ "http://download.tensorflow.org/models/object_detection/"
+ "ssd_mobilenet_v2_quantized_300x300_coco_2019_01_03.tar.gz",
Review comment:
I think if we could view the TOCO source code, maybe we could find how to
construct detection_postprocess. Please refer our `test_prelu` comment. I ever
write what the pattern tflite could produce prelu. However, current way is
acceptable too in my opinion.
----------------------------------------------------------------
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]
With regards,
Apache Git Services