| 414 | /// representation of bfloat16-precision value \return integral value |
| 415 | template <typename T> |
| 416 | MEGDNN_HOST MEGDNN_DEVICE T bfloat162int(uint16 value) { |
| 417 | return static_cast<T>(bfloat162float(value)); |
| 418 | } |
| 419 | |
| 420 | /// Round bfloat16 number to nearest integer value. |
| 421 | /// \tparam R rounding mode to use, `round_indeterminate` for fastest rounding |
nothing calls this directly
no test coverage detected