pub trait ConvolutionLayerInt8Trait: BaseConvolutionLayerTrait + ConvolutionLayerInt8TraitConst {
// Required method
fn as_raw_mut_ConvolutionLayerInt8(&mut self) -> *mut c_void;
// Provided methods
fn set_input_zp(&mut self, val: i32) { ... }
fn set_output_zp(&mut self, val: i32) { ... }
fn set_input_sc(&mut self, val: f32) { ... }
fn set_output_sc(&mut self, val: f32) { ... }
fn set_per_channel(&mut self, val: bool) { ... }
fn set_use_winograd(&mut self, val: bool) { ... }
}
Expand description
Mutable methods for crate::dnn::ConvolutionLayerInt8
Required Methods§
fn as_raw_mut_ConvolutionLayerInt8(&mut self) -> *mut c_void
Provided Methods§
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
fn set_per_channel(&mut self, val: bool)
Sourcefn set_use_winograd(&mut self, val: bool)
fn set_use_winograd(&mut self, val: bool)
§C++ default parameters
- val: false
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.