ekalda commented on a change in pull request #9530:
URL: https://github.com/apache/tvm/pull/9530#discussion_r754430037
##########
File path: python/tvm/relay/backend/contrib/ethosu/tir_to_cs_translator.py
##########
@@ -770,3 +771,49 @@ def
_create_npu_op_binary_elementwise(serial_binary_elementwise: spec.SerialBina
npu_binary_elementwise_op.block_config = block_config
return npu_binary_elementwise_op
+
+
+def translate_ethosu_unary_elementwise(
+ tir_extern_call: tvm.tir.Call,
+) -> vapi.NpuElementWiseOperation:
+ """This function will translate a tir extern_call
+ as produced by Relay to TIR compilation.
+ Parameters
Review comment:
Done
--
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]