Trait ConcatLayerTraitConst

Source
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§

Provided Methods§

Source

fn axis(&self) -> i32

Source

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

Source

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.

Implementors§