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

#include <float8.h>

Classes

struct  FromBitsT
 

Public Member Functions

 Float8E4M3FNUZ ()=default
 
constexpr ORT_HOST_DEVICE Float8E4M3FNUZ (unsigned char bits, FromBitsT)
 
ORT_HOST_DEVICE Float8E4M3FNUZ (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 191 of file float8.h.

Constructor & Destructor Documentation

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

Definition at line 201 of file float8.h.

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

Definition at line 203 of file float8.h.

Member Function Documentation

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

Definition at line 200 of file float8.h.

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

Definition at line 306 of file float8.h.

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

Definition at line 268 of file float8.h.

Member Data Documentation

uint8_t onnxruntime::Float8E4M3FNUZ::val {0}

Definition at line 192 of file float8.h.


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