pub trait ConcatLayerTraitConst: LayerTraitConst {
// Required method
fn as_raw_ConcatLayer(&self) -> *const c_void;
// Provided methods
fn axis(&self) -> i32 { ... }
fn padding(&self) -> bool { ... }
fn padding_value(&self) -> i32 { ... }
}
Expand description
Constant methods for crate::dnn::ConcatLayer
Required Methods§
fn as_raw_ConcatLayer(&self) -> *const c_void
Provided Methods§
fn axis(&self) -> i32
Sourcefn padding(&self) -> bool
fn padding(&self) -> bool
Add zero padding in case of concatenation of blobs with different spatial sizes.
Details: https://github.com/torch/nn/blob/master/doc/containers.md#depthconcat
fn padding_value(&self) -> i32
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.