pub trait ConvolutionLayerInt8TraitConst: BaseConvolutionLayerTraitConst {
// Required method
fn as_raw_ConvolutionLayerInt8(&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 { ... }
fn use_winograd(&self) -> bool { ... }
}
Expand description
Constant methods for crate::dnn::ConvolutionLayerInt8
Required Methods§
fn as_raw_ConvolutionLayerInt8(&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
fn use_winograd(&self) -> bool
Object Safety§
This trait is not object safe.