This is an automated email from the ASF dual-hosted git repository.

syfeng pushed a commit to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/unity by this push:
     new 95a89d2b13 [Unity] Fix wrong variable name in 
test_optimize_layout_transform (#15893)
95a89d2b13 is described below

commit 95a89d2b135a5d3cf90b9b0c84b9845dab7f1e3a
Author: Honglin Zhu <[email protected]>
AuthorDate: Wed Oct 11 22:53:27 2023 +0800

    [Unity] Fix wrong variable name in test_optimize_layout_transform (#15893)
    
    * fix the error pad_einsum documentation
    
    * Update schedule.py
---
 tests/python/relax/test_optimize_layout_transform.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/relax/test_optimize_layout_transform.py 
b/tests/python/relax/test_optimize_layout_transform.py
index 7e1ca2b893..56c11984ee 100644
--- a/tests/python/relax/test_optimize_layout_transform.py
+++ b/tests/python/relax/test_optimize_layout_transform.py
@@ -30,7 +30,7 @@ def _run_pass_compare_output(Before, Expected):
     if not relax.analysis.well_formed(fused_mod):
         print("IRModule is not well-formed")
 
-    fused_mode = DeadCodeElimination()(fused_mod)
+    fused_mod = DeadCodeElimination()(fused_mod)
     if not relax.analysis.well_formed(fused_mod):
         print("IRModule is not well-formed")
 

Reply via email to