pub trait ConcatLayerTrait: ConcatLayerTraitConst + LayerTrait {
// Required method
fn as_raw_mut_ConcatLayer(&mut self) -> *mut c_void;
// Provided methods
fn set_axis(&mut self, val: i32) { ... }
fn set_padding(&mut self, val: bool) { ... }
fn set_padding_value(&mut self, val: i32) { ... }
}
Expand description
Mutable methods for crate::dnn::ConcatLayer
Required Methods§
fn as_raw_mut_ConcatLayer(&mut self) -> *mut c_void
Provided Methods§
fn set_axis(&mut self, val: i32)
Sourcefn set_padding(&mut self, val: bool)
fn set_padding(&mut self, val: 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 set_padding_value(&mut self, val: 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.