Trait ConvolutionLayerInt8Trait

Source
pub trait ConvolutionLayerInt8Trait: BaseConvolutionLayerTrait + ConvolutionLayerInt8TraitConst {
    // Required method
    fn as_raw_mut_ConvolutionLayerInt8(&mut self) -> *mut c_void;

    // Provided methods
    fn set_input_zp(&mut self, val: i32) { ... }
    fn set_output_zp(&mut self, val: i32) { ... }
    fn set_input_sc(&mut self, val: f32) { ... }
    fn set_output_sc(&mut self, val: f32) { ... }
    fn set_per_channel(&mut self, val: bool) { ... }
    fn set_use_winograd(&mut self, val: bool) { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_input_zp(&mut self, val: i32)

Source

fn set_output_zp(&mut self, val: i32)

Source

fn set_input_sc(&mut self, val: f32)

Source

fn set_output_sc(&mut self, val: f32)

Source

fn set_per_channel(&mut self, val: bool)

Source

fn set_use_winograd(&mut self, val: bool)

§C++ default parameters
  • val: false

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§