HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.

Definition at line 470 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

constexpr Ort::Float8E5M2_t::Float8E5M2_t ( )
inlinenoexcept

Definition at line 472 of file onnxruntime_cxx_api.h.

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

Definition at line 473 of file onnxruntime_cxx_api.h.

Member Function Documentation

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

Definition at line 474 of file onnxruntime_cxx_api.h.

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

Definition at line 477 of file onnxruntime_cxx_api.h.

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

Definition at line 476 of file onnxruntime_cxx_api.h.

Member Data Documentation

uint8_t Ort::Float8E5M2_t::value

Definition at line 471 of file onnxruntime_cxx_api.h.


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