pub trait InnerProductLayerInt8TraitConst: InnerProductLayerTraitConst {
// Required method
fn as_raw_InnerProductLayerInt8(&self) -> *const c_void;
// Provided methods
fn input_zp(&self) -> i32 { ... }
fn output_zp(&self) -> i32 { ... }
fn input_sc(&self) -> f32 { ... }
fn output_sc(&self) -> f32 { ... }
fn per_channel(&self) -> bool { ... }
}
Expand description
Constant methods for crate::dnn::InnerProductLayerInt8
Required Methods§
fn as_raw_InnerProductLayerInt8(&self) -> *const c_void
Provided Methods§
fn input_zp(&self) -> i32
fn output_zp(&self) -> i32
fn input_sc(&self) -> f32
fn output_sc(&self) -> f32
fn per_channel(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.