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§
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".