pub trait QuantizeLayerTrait: LayerTrait + QuantizeLayerTraitConst {
// Required method
fn as_raw_mut_QuantizeLayer(&mut self) -> *mut c_void;
// Provided methods
fn set_scales(&mut self, val: Vector<f32>) { ... }
fn set_zeropoints(&mut self, val: Vector<i32>) { ... }
}
Expand description
Mutable methods for crate::dnn::QuantizeLayer
Required Methods§
fn as_raw_mut_QuantizeLayer(&mut self) -> *mut c_void
Provided Methods§
fn set_scales(&mut self, val: Vector<f32>)
fn set_zeropoints(&mut self, val: Vector<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.