[][src]Struct opencv::dnn::Layer

pub struct Layer { /* fields omitted */ }

This interface class allows to build new Layers - are building blocks of networks.

Each class, derived from Layer, must implement allocate() methods to declare own outputs and forward() to compute outputs. Also before using the new layer into networks you must register your layer by using one of @ref dnnLayerFactory "LayerFactory" macros.

Implementations

impl Layer[src]

impl Layer[src]

pub fn default() -> Result<Layer>[src]

pub fn new(params: &LayerParams) -> Result<Layer>[src]

Trait Implementations

impl AlgorithmTrait for Layer[src]

impl Boxed for Layer[src]

impl Drop for Layer[src]

impl LayerTrait for Layer[src]

impl Send for Layer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.