Skip to main content

Pool2Int8LayerTraitConst

Trait Pool2Int8LayerTraitConst 

Source
pub trait Pool2Int8LayerTraitConst: LayerTraitConst {
Show 13 methods // Required method fn as_raw_Pool2Int8Layer(&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 kernel_shape(&self) -> Vector<i32> { ... } fn strides(&self) -> Vector<i32> { ... } fn dilations(&self) -> Vector<i32> { ... } fn pads(&self) -> Vector<i32> { ... } fn auto_pad(&self) -> AutoPadding { ... } fn ceil_mode(&self) -> bool { ... } fn is_global_pooling(&self) -> bool { ... } fn is_max_pool(&self) -> bool { ... }
}
Expand description

Constant methods for crate::dnn::Pool2Int8Layer

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 kernel_shape(&self) -> Vector<i32>

Source

fn strides(&self) -> Vector<i32>

Source

fn dilations(&self) -> Vector<i32>

Source

fn pads(&self) -> Vector<i32>

Source

fn auto_pad(&self) -> AutoPadding

Source

fn ceil_mode(&self) -> bool

Source

fn is_global_pooling(&self) -> bool

Source

fn is_max_pool(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§