pub trait MaxUnpoolLayerTraitConst: LayerTraitConst {
// Required method
fn as_raw_MaxUnpoolLayer(&self) -> *const c_void;
// Provided methods
fn pool_kernel(&self) -> Size { ... }
fn pool_pad(&self) -> Size { ... }
fn pool_stride(&self) -> Size { ... }
}
Expand description
Constant methods for crate::dnn::MaxUnpoolLayer
Required Methods§
fn as_raw_MaxUnpoolLayer(&self) -> *const c_void
Provided Methods§
fn pool_kernel(&self) -> Size
fn pool_pad(&self) -> Size
fn pool_stride(&self) -> Size
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.