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/09/26 15:55:51 UTC

[GitHub] [tvm] Lunderberg commented on a diff in pull request #12892: [TIR][Transform] Remove num_unpacked_args from MakePackedAPI

Lunderberg commented on code in PR #12892:
URL: https://github.com/apache/tvm/pull/12892#discussion_r980232185


##########
python/tvm/tir/transform/transform.py:
##########
@@ -402,7 +402,9 @@ def MakePackedAPI(num_unpacked_params: int = -1):
     fpass : tvm.transform.Pass
         The result pass
     """
-    return _ffi_api.MakePackedAPI(num_unpacked_params)  # type: ignore
+    num_unpacked_params: int = -1
+    assert num_unpacked_params == -1

Review Comment:
   Thank you for the catch, and removed!  I was iteratively stripping out `num_unpacked_params` to make sure that each step still ran, and it looks like that one slipped by.



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