Trait InnerProductLayerInt8TraitConst

Source
pub trait InnerProductLayerInt8TraitConst: InnerProductLayerTraitConst {
    // Required method
    fn as_raw_InnerProductLayerInt8(&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 { ... }
}
Expand description

Constant methods for crate::dnn::InnerProductLayerInt8

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

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§