pub trait BatchNormLayerInt8Trait: BatchNormLayerInt8TraitConst + BatchNormLayerTrait {
// Required method
fn as_raw_mut_BatchNormLayerInt8(&mut self) -> *mut c_void;
// Provided methods
fn set_input_sc(&mut self, val: f32) { ... }
fn set_output_sc(&mut self, val: f32) { ... }
fn set_input_zp(&mut self, val: i32) { ... }
fn set_output_zp(&mut self, val: i32) { ... }
}
Expand description
Mutable methods for crate::dnn::BatchNormLayerInt8
Required Methods§
fn as_raw_mut_BatchNormLayerInt8(&mut self) -> *mut c_void
Provided Methods§
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
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.