altanh commented on pull request #7370: URL: https://github.com/apache/tvm/pull/7370#issuecomment-769572147
Can you use `std::numeric_limits<T>::infinity()`? I'm not sure there is a difference between single vs double precision inf when it gets casted to the correct dtype, as floating point infinity is generally treated specially so the conversion should work. ---------------------------------------------------------------- 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]
