HDK
|
bfloat16 (Brain Floating Point) data type More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
constexpr | BFloat16_t () noexcept |
constexpr | BFloat16_t (uint16_t v) noexcept |
constexpr | operator uint16_t () const noexcept |
constexpr bool | operator== (const BFloat16_t &rhs) const noexcept |
constexpr bool | operator!= (const BFloat16_t &rhs) const noexcept |
Public Attributes | |
uint16_t | value |
bfloat16 (Brain Floating Point) data type
It is necessary for type dispatching to make use of C++ API The type is implicitly convertible to/from uint16_t. The size of the structure should align with uint16_t and one can freely cast uint16_t buffers to/from Ort::BFloat16_t to feed and retrieve data.
See also code examples for Float16_t above.
Definition at line 188 of file onnxruntime_cxx_api.h.
|
inlinenoexcept |
Definition at line 190 of file onnxruntime_cxx_api.h.
|
inlinenoexcept |
Definition at line 191 of file onnxruntime_cxx_api.h.
|
inlinenoexcept |
Definition at line 192 of file onnxruntime_cxx_api.h.
|
inlinenoexcept |
Definition at line 194 of file onnxruntime_cxx_api.h.
|
inlinenoexcept |
Definition at line 193 of file onnxruntime_cxx_api.h.
uint16_t Ort::BFloat16_t::value |
Definition at line 189 of file onnxruntime_cxx_api.h.