You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "ekalda (via GitHub)" <gi...@apache.org> on 2023/07/20 09:50:59 UTC

[GitHub] [tvm] ekalda commented on a diff in pull request #15300: [Ethos-U] Replace ethos-u.constants with AllocateConst

ekalda commented on code in PR #15300:
URL: https://github.com/apache/tvm/pull/15300#discussion_r1269191421


##########
python/tvm/relay/backend/contrib/ethosu/codegen.py:
##########
@@ -532,6 +532,34 @@ def relay_to_tir(mod: tvm.ir.IRModule) -> tvm.ir.IRModule:
     return tir_mod
 
 
+def collect_consts(mod: tvm.IRModule) -> Dict[tvm.tir.Var, tvm.nd.NDArray]:
+    """Collect any AllocateCont

Review Comment:
   Nit:
   ```suggestion
       """Collect any AllocateConst
   ```



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