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/28 13:46:22 UTC

[GitHub] [tvm] Lunderberg opened a new pull request, #12925: [TIR] Use buffer's dtype when converting pad_value to TIR

Lunderberg opened a new pull request, #12925:
URL: https://github.com/apache/tvm/pull/12925

   Previously, a python int/float would be converted to a TIR int32/float32 in `tvm.runtime.convert`.  These types may not match the buffer's type, even though it is the closest Python representation of the buffer's type.  Therefore, the `pad_value` should be preferentially converted to the matching type of the buffer.


-- 
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] Lunderberg merged pull request #12925: [TIR] Use buffer's dtype when converting pad_value to TIR

Posted by GitBox <gi...@apache.org>.
Lunderberg merged PR #12925:
URL: https://github.com/apache/tvm/pull/12925


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