Skip to main content

IntegerType

Trait IntegerType 

Source
pub trait IntegerType: Sealed { }
Expand description

Integer element types that may carry quantization metadata.

Sealed trait: implemented for u8, i8, u16, i16, u32, i32, u64, i64. Cannot be implemented downstream. Float element types (half::f16, f32, f64) are explicitly excluded — quantization metadata does not apply to float tensors per the edgefirst.json spec.

Implementations on Foreign Types§

Source§

impl IntegerType for i8

Source§

impl IntegerType for i16

Source§

impl IntegerType for i32

Source§

impl IntegerType for i64

Source§

impl IntegerType for u8

Source§

impl IntegerType for u16

Source§

impl IntegerType for u32

Source§

impl IntegerType for u64

Implementors§