junrushao1994 commented on a change in pull request #8515:
URL: https://github.com/apache/tvm/pull/8515#discussion_r673598569



##########
File path: python/tvm/tir/transform/transform.py
##########
@@ -331,14 +331,15 @@ def LowerCustomDatatypes():
     return _ffi_api.LowerCustomDatatypes()  # type: ignore
 
 
-def MakePackedAPI(num_unpacked_params: int = 0):
+def MakePackedAPI(num_unpacked_params: int = -1):
     """Transform the PrimFuncs in the module to a packed func API.
 
     Parameters
     ----------
     num_unpacked_params : int
         Number of parameters that we hope to directly pass via normal arguments
-        following the PackedFunc input signature.
+        following the PackedFunc input signature. If it is specified as -1 or 
it
+        is less than the number of arguments, the passwill packed arguments 
still.

Review comment:
       nitpick
   
   ```suggestion
           is less than the number of arguments, the pass will packed arguments 
still.
   ```




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