psrivas2 commented on code in PR #15184:
URL: https://github.com/apache/tvm/pull/15184#discussion_r1247093272


##########
tests/python/relax/test_transform_legalize_ops_manipulate.py:
##########
@@ -1522,5 +1522,45 @@ def main(
     tvm.ir.assert_structural_equal(mod, Expected)
 
 
+def test_layout_transform():
+    transformation = lambda a, b, c: (a, c, b // 3, b % 3)
+    pad_value = 2
+    # fmt: off
+    @I.ir_module
+    class LayoutTransform:
+        @R.function
+        def main(x: R.Tensor((10, 20, 30), "float32")):

Review Comment:
   should we also add a test case with symbolic dimensions? 



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

Reply via email to