We should upcast F16 to F32 to prevent precision loss. E.g. sinh(-9) would evaluate to -4042 previously instead of -4052. This allows to enable the MLIR generated kernel for F16 type. PiperOrigin-RevId: 377901896 |
||
|---|---|---|
| .. | ||
| IR | ||
| transforms | ||
| CMakeLists.txt | ||
We should upcast F16 to F32 to prevent precision loss. E.g. sinh(-9) would evaluate to -4042 previously instead of -4052. This allows to enable the MLIR generated kernel for F16 type. PiperOrigin-RevId: 377901896 |
||
|---|---|---|
| .. | ||
| IR | ||
| transforms | ||
| CMakeLists.txt | ||