HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::Float8E5M2FNUZ Struct Reference

#include <float8.h>

Classes

struct  FromBitsT
 

Public Member Functions

 Float8E5M2FNUZ ()=default
 
constexpr ORT_HOST_DEVICE Float8E5M2FNUZ (unsigned char bits, FromBitsT)
 
ORT_HOST_DEVICE Float8E5M2FNUZ (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}
 

Detailed Description

Definition at line 504 of file float8.h.

Constructor & Destructor Documentation

onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( )
default
constexpr ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( unsigned char  bits,
FromBitsT   
)
inline

Definition at line 514 of file float8.h.

ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( float  v,
bool  saturate = true 
)
inlineexplicit

Definition at line 516 of file float8.h.

Member Function Documentation

static constexpr ORT_HOST_DEVICE FromBitsT onnxruntime::Float8E5M2FNUZ::FromBits ( )
inlinestatic

Definition at line 513 of file float8.h.

ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::operator float ( ) const
inline

Definition at line 611 of file float8.h.

ORT_HOST_DEVICE float onnxruntime::Float8E5M2FNUZ::ToFloat ( ) const
inline

Definition at line 577 of file float8.h.

Member Data Documentation

uint8_t onnxruntime::Float8E5M2FNUZ::val {0}

Definition at line 505 of file float8.h.


The documentation for this struct was generated from the following file: