Cookiee235 opened a new issue, #17956:
URL: https://github.com/apache/tvm/issues/17956

   ### Actual behavior
   
   ```
   # from tvm.script import ir as I
   # from tvm.script import tir as T
   
   @I.ir_module
   class Module:
       @T.prim_func
       def main(data: T.Buffer((128, 64), "float32")):
           T.func_attr({"tir.noalias": T.bool(True)})
           T.evaluate(0)
   ```
   
   ### Environment
   
   tvm-0.21.dev0
   
   ### Steps to reproduce
   
   ```
   import tvm
   from tvm import te, topi, tir
   
   data = te.placeholder((128, 64), dtype='float32', name='data')
   op_output = topi.topk(data, k=10, axis=1, ret_type='both')
   print(op_output)  # wrong IR
   
   ```
   
   ### Triage
   
   * needs-triage
   * te
   


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