opencv::mod_prelude

Trait ConvolutionLayerInt8TraitConst

Source
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§

Provided Methods§

Source

fn input_zp(&self) -> i32

Source

fn output_zp(&self) -> i32

Source

fn input_sc(&self) -> f32

Source

fn output_sc(&self) -> f32

Source

fn per_channel(&self) -> bool

Source

fn use_winograd(&self) -> bool

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§