ekalda commented on a change in pull request #9623:
URL: https://github.com/apache/tvm/pull/9623#discussion_r761032476



##########
File path: tests/python/contrib/test_ethosu/test_codegen.py
##########
@@ -166,8 +169,110 @@ def create_graph_activation(input_tensor_name, 
input_tensor_shape, input_tensor_
         infra.verify_source(compiled_models, accel_type)
 
 
+def _compare_ethosu_with_reference(
+    mod, input_data, output_data, accel_type, output_tolerance=0, 
print_cmm=False
+):

Review comment:
       I was wondering if maybe this and the other helper functions could go to 
some more common location where they would be accessible to other files as 
well, so that we can make use of them in other tests that follow similar 
pattern, namely the tests in test_lookup_table.py




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to