Trait QuantizeLayerTraitConst

Source
pub trait QuantizeLayerTraitConst: LayerTraitConst {
    // Required method
    fn as_raw_QuantizeLayer(&self) -> *const c_void;

    // Provided methods
    fn scales(&self) -> Vector<f32> { ... }
    fn zeropoints(&self) -> Vector<i32> { ... }
}
Expand description

Constant methods for crate::dnn::QuantizeLayer

Required Methods§

Provided Methods§

Source

fn scales(&self) -> Vector<f32>

Source

fn zeropoints(&self) -> 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.

Implementors§