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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]