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

   Following the recent PrimType refactor, `nn.Tensor.dtype` returns a 
`PrimType` object instead of the documented string dtype value. This breaks 
consumers such as NumPy's astype. This PR returns the underlying dtype value 
and adds an assertion verifying that `Tensor.dtype` remains string-compatible.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to