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/04/01 23:15:24 UTC

[GitHub] [tvm] sfvaroglu opened a new pull request #10880: [QNN] Fix qnn.dequantize scale and zp shape

sfvaroglu opened a new pull request #10880:
URL: https://github.com/apache/tvm/pull/10880


   The type checker fails with:
   ```
   data = relay.const(np.ones(16, dtype="int8"))
   scale = relay.const(np.ones(1, dtype="float32"))
   zp = relay.const(np.ones(1, dtype="int32"))
   op = relay.qnn.op.dequantize(data, scale, zp) 
   
   print(relay.transform.InferType()(tvm.ir.IRModule.from_expr(op)))
   ```
   This PR provides a fix.
   


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



[GitHub] [tvm] sfvaroglu commented on pull request #10880: [QNN] Fix qnn.dequantize scale and zp shape

Posted by GitBox <gi...@apache.org>.
sfvaroglu commented on pull request #10880:
URL: https://github.com/apache/tvm/pull/10880#issuecomment-1086406115


   @mbrookhart  @AndrewZhaoLuo 


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