lhutton1 commented on a change in pull request #9515:
URL: https://github.com/apache/tvm/pull/9515#discussion_r750507953
##########
File path: tests/python/contrib/test_ethosu/test_encode_constants.py
##########
@@ -270,5 +273,47 @@ def _get_func():
assert reference_const_sizes == test_const_sizes
+def test_constant_as_input():
+ """Test to check that constants specified as inputs aren't
+ interpreted as an encoded constant."""
+
+ def get_graph():
+ dtype = "uint8"
Review comment:
For now this needs to be `uint8` due to
https://github.com/apache/tvm/blob/main/python/tvm/relay/backend/contrib/ethosu/tir_to_cs_translator.py#L254.
Removing this opens up another can of worms that I'll address in another PR :)
--
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]