Some users have native c++ data types that correspond to the floating point values stored within a DenseElementsAttr that do not have a corresponding native C++ data type(e.g. bfloat16/half/etc). This revision allows for such users to use those native types directly, and removes the need to go through APFloat when the much faster native value path is available.
This revision was landed with ongoing or failed builds.Nov 12 2020, 10:52 PM
Closed by commit rG2e71dad3328e: [mlir][DenseElementsAttr] Allow for custom floating point types in `getValues` (authored by rriddle). · Explain Why
This revision was automatically updated to reflect the committed changes.