ONNX Runtime
Loading...
Searching...
No Matches
Ort::Float8E5M2_t Struct Reference

float8e5m2 (Float8 Floating Point) data type More...

#include <onnxruntime_cxx_api.h>

Public Member Functions

constexpr Float8E5M2_t () noexcept
 
constexpr Float8E5M2_t (uint8_t v) noexcept
 
constexpr operator uint8_t () const noexcept
 
constexpr bool operator== (const Float8E5M2_t &rhs) const noexcept
 
constexpr bool operator!= (const Float8E5M2_t &rhs) const noexcept
 

Public Attributes

uint8_t value
 

Detailed Description

float8e5m2 (Float8 Floating Point) data type

It is necessary for type dispatching to make use of C++ API The type is implicitly convertible to/from uint8_t. See https://onnx.ai/onnx/technical/float8.html for further details.

Constructor & Destructor Documentation

◆ Float8E5M2_t() [1/2]

constexpr Ort::Float8E5M2_t::Float8E5M2_t ( )
inlineconstexprnoexcept

◆ Float8E5M2_t() [2/2]

constexpr Ort::Float8E5M2_t::Float8E5M2_t ( uint8_t  v)
inlineconstexprnoexcept

Member Function Documentation

◆ operator uint8_t()

constexpr Ort::Float8E5M2_t::operator uint8_t ( ) const
inlineconstexprnoexcept

◆ operator!=()

constexpr bool Ort::Float8E5M2_t::operator!= ( const Float8E5M2_t rhs) const
inlineconstexprnoexcept

◆ operator==()

constexpr bool Ort::Float8E5M2_t::operator== ( const Float8E5M2_t rhs) const
inlineconstexprnoexcept

Member Data Documentation

◆ value

uint8_t Ort::Float8E5M2_t::value