#[repr(u32)]pub enum ov_element_type_e {
Show 26 variants
UNDEFINED = 0,
OV_BOOLEAN = 1,
BF16 = 2,
F16 = 3,
F32 = 4,
F64 = 5,
I4 = 6,
I8 = 7,
I16 = 8,
I32 = 9,
I64 = 10,
U1 = 11,
U2 = 12,
U3 = 13,
U4 = 14,
U6 = 15,
U8 = 16,
U16 = 17,
U32 = 18,
U64 = 19,
NF4 = 20,
F8E4M3 = 21,
F8E5M3 = 22,
STRING = 23,
F4E2M1 = 24,
F8E8M0 = 25,
}Expand description
@enum ov_element_type_e @ingroup ov_base_c_api @brief This enum contains codes for element type, which is aligned with ov::element::Type_t in src/core/include/openvino/core/type/element_type.hpp
Variants§
UNDEFINED = 0
!< Undefined element type
OV_BOOLEAN = 1
!< boolean element type
BF16 = 2
!< bf16 element type
F16 = 3
!< f16 element type
F32 = 4
!< f32 element type
F64 = 5
!< f64 element type
I4 = 6
!< i4 element type
I8 = 7
!< i8 element type
I16 = 8
!< i16 element type
I32 = 9
!< i32 element type
I64 = 10
!< i64 element type
U1 = 11
!< binary element type
U2 = 12
!< u2 element type
U3 = 13
!< u3 element type
U4 = 14
!< u4 element type
U6 = 15
!< u6 element type
U8 = 16
!< u8 element type
U16 = 17
!< u16 element type
U32 = 18
!< u32 element type
U64 = 19
!< u64 element type
NF4 = 20
!< nf4 element type
F8E4M3 = 21
!< f8e4m3 element type
F8E5M3 = 22
!< f8e5m2 element type
STRING = 23
!< string element type
F4E2M1 = 24
!< f4e2m1 element type
F8E8M0 = 25
!< f8e8m0 element type
Implementations§
Source§impl ov_element_type_e
impl ov_element_type_e
pub const DYNAMIC: ov_element_type_e = ov_element_type_e::UNDEFINED
Trait Implementations§
Source§impl Clone for ov_element_type_e
impl Clone for ov_element_type_e
Source§fn clone(&self) -> ov_element_type_e
fn clone(&self) -> ov_element_type_e
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ov_element_type_e
impl Debug for ov_element_type_e
Source§impl Hash for ov_element_type_e
impl Hash for ov_element_type_e
Source§impl PartialEq for ov_element_type_e
impl PartialEq for ov_element_type_e
impl Copy for ov_element_type_e
impl Eq for ov_element_type_e
impl StructuralPartialEq for ov_element_type_e
Auto Trait Implementations§
impl Freeze for ov_element_type_e
impl RefUnwindSafe for ov_element_type_e
impl Send for ov_element_type_e
impl Sync for ov_element_type_e
impl Unpin for ov_element_type_e
impl UnwindSafe for ov_element_type_e
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more