pub trait ConvolutionLayerTraitConst: BaseConvolutionLayerTraitConst {
// Required method
fn as_raw_ConvolutionLayer(&self) -> *const c_void;
// Provided methods
fn fused_activation(&self) -> bool { ... }
fn fused_add(&self) -> bool { ... }
fn use_winograd(&self) -> bool { ... }
}
Expand description
Constant methods for crate::dnn::ConvolutionLayer
Required Methods§
fn as_raw_ConvolutionLayer(&self) -> *const c_void
Provided Methods§
fn fused_activation(&self) -> bool
fn fused_add(&self) -> bool
fn use_winograd(&self) -> bool
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.