You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/01/04 12:48:11 UTC
[GitHub] [tvm] lhutton1 commented on a change in pull request #9815: [microNPU] Enable the codegen tests for 256 mac Arm(R) Ethos(TM)-U65 NPU
lhutton1 commented on a change in pull request #9815:
URL: https://github.com/apache/tvm/pull/9815#discussion_r778050018
##########
File path: tests/python/contrib/test_ethosu/infra.py
##########
@@ -193,6 +193,7 @@ def create_test_runner(accel="ethos-u55-256"):
file_dir = os.path.dirname(os.path.abspath(__file__))
test_root = os.path.join(file_dir, "reference_system")
ethosu_macs = accel[accel.rfind("-") + 1 :]
+ ethosu_variant = accel[accel.find("-") + 1 : -4].upper()
Review comment:
Feel free to ignore, just thought this might be slightly clearer :)
```suggestion
_, ethosu_variant, ethosu_macs = accel.split("-")
ethosu_variant = ethosu_variant.upper()
```
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org