Beya2019 commented on pull request #8235:
URL: https://github.com/apache/tvm/pull/8235#issuecomment-861118213


   > Thanks @Beya2019 , can you add a regression testcase? Right now we do 
support passing in value arguments
   
   Already added the get_valid_counts in test_tvmscript_ops.py
   ```
   @tvm.script.tir
   def get_valid_counts(
       data: ty.handle,
       valid_count: ty.handle,
       out: ty.handle,
       out_indices: ty.handle,
       score_threshold: ty.float32,
       id_index: ty.int32,
       score_index: ty.int32,
   ) -> None:
   ```
   
   In this operator, the data type of score_threshold is ty.float32 which is 
our newly supported situation


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to