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

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

#include <onnxruntime_cxx_api.h>

Public Member Functions

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

Public Attributes

uint8_t value
 

Detailed Description

float8e4m3fn (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

◆ Float8E4M3FN_t() [1/2]

constexpr Ort::Float8E4M3FN_t::Float8E4M3FN_t ( )
inlineconstexprnoexcept

◆ Float8E4M3FN_t() [2/2]

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

Member Function Documentation

◆ operator uint8_t()

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

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ value

uint8_t Ort::Float8E4M3FN_t::value