pub trait ShrinkLayerTraitConst: ActivationLayerTraitConst {
// Required method
fn as_raw_ShrinkLayer(&self) -> *const c_void;
// Provided methods
fn bias(&self) -> f32 { ... }
fn lambd(&self) -> f32 { ... }
}
Expand description
Constant methods for crate::dnn::ShrinkLayer
Required Methods§
fn as_raw_ShrinkLayer(&self) -> *const c_void
Provided Methods§
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.