HDK
|
#include <float8.h>
Classes | |
struct | FromBitsT |
Public Member Functions | |
Float8E4M3FN ()=default | |
constexpr ORT_HOST_DEVICE | Float8E4M3FN (unsigned char bits, FromBitsT) |
ORT_HOST_DEVICE | Float8E4M3FN (float v, bool saturate=true) |
ORT_HOST_DEVICE float | ToFloat () const |
ORT_HOST_DEVICE | operator float () const |
Static Public Member Functions | |
static constexpr ORT_HOST_DEVICE FromBitsT | FromBits () |
Public Attributes | |
uint8_t | val {0} |
|
default |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
inline |
|
inline |