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/04/20 14:19:14 UTC

[GitHub] [tvm] NicolaLancellotti commented on a diff in pull request #10344: [microNPU] Integrate rolling buffers in Arm(R) Ethos(TM)-U

NicolaLancellotti commented on code in PR #10344:
URL: https://github.com/apache/tvm/pull/10344#discussion_r854195376


##########
python/tvm/relay/backend/contrib/ethosu/tir/dma.py:
##########
@@ -166,6 +167,86 @@ def get_convert_to_nhcwb16_params(stmt):
     return out_channels, input_pointer, output_pointer
 
 
+class Tiles(NamedTuple):
+    height_0: tvm.tir.expr.IntImm
+    height_1: tvm.tir.expr.IntImm
+    width_0: tvm.tir.expr.IntImm
+    address_0: Union[tvm.tir.expr.BufferLoad, int]
+    address_1: Union[tvm.tir.expr.BufferLoad, int]
+    address_2: Union[tvm.tir.expr.BufferLoad, int]
+
+
+def create_tiles(stmt: tvm.tir.stmt.AttrStmt) -> Tiles:

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org