Group Element types¶
- group ov_element_cpp_api
OpenVINO Element API to work with OpenVINO element types
Enums
-
enum class Type_t¶
Enum to define possible element types.
Values:
-
enumerator undefined¶
Undefined element type.
-
enumerator dynamic¶
Dynamic element type.
-
enumerator boolean¶
boolean element type
-
enumerator bf16¶
bf16 element type
-
enumerator f16¶
f16 element type
-
enumerator f32¶
f32 element type
-
enumerator f64¶
f64 element type
-
enumerator i4¶
i4 element type
-
enumerator i8¶
i8 element type
-
enumerator i16¶
i16 element type
-
enumerator i32¶
i32 element type
-
enumerator i64¶
i64 element type
-
enumerator u1¶
binary element type
-
enumerator u4¶
u4 element type
-
enumerator u8¶
u8 element type
-
enumerator u16¶
u16 element type
-
enumerator u32¶
u32 element type
-
enumerator u64¶
u64 element type
-
enumerator nf4¶
nf4 element type
-
enumerator f8e4m3¶
f8e4m3 element type
-
enumerator f8e5m2¶
f8e5m2 element type
-
enumerator string¶
string element type
-
enumerator undefined¶
Functions
-
class Type
- #include <element_type.hpp>
Base class to define element type.
Public Functions
Public Static Functions
-
static bool merge(element::Type &dst, const element::Type &t1, const element::Type &t2)
Merges two element types t1 and t2, writing the result into dst and returning true if successful, else returning false.
To “merge” two element types t1 and t2 is to find the least restrictive element type t that is no more restrictive than t1 and t2, if t exists. More simply:
merge(dst,element::Type::dynamic,t) writes t to dst and returns true
merge(dst,t,element::Type::dynamic) writes t to dst and returns true
merge(dst,t1,t2) where t1, t2 both static and equal writes t1 to dst and returns true
merge(dst,t1,t2) where t1, t2 both static and unequal does nothing to dst, and returns false
-
static bool merge(element::Type &dst, const element::Type &t1, const element::Type &t2)
-
enum class Type_t¶