[][src]Struct opencv::dnn::BlankLayer

pub struct BlankLayer { /* fields omitted */ }

Partial List of Implemented Layers

This subsection of dnn module contains information about built-in layers and their descriptions.

Classes listed here, in fact, provides C++ API for creating instances of built-in layers. In addition to this way of layers instantiation, there is a more common factory API (see @ref dnnLayerFactory), it allows to create layers dynamically (by name) and register new ones. You can use both API, but factory API is less convenient for native C++ programming and basically designed for use inside importers (see @ref readNetFromCaffe(), @ref readNetFromTorch(), @ref readNetFromTensorflow()).

Built-in layers partially reproduce functionality of corresponding Caffe and Torch7 layers. In particular, the following layers and Caffe importer were tested to reproduce Caffe functionality:

  • Convolution
  • Deconvolution
  • Pooling
  • InnerProduct
  • TanH, ReLU, Sigmoid, BNLL, Power, AbsVal
  • Softmax
  • Reshape, Flatten, Slice, Split
  • LRN
  • MVN
  • Dropout (since it does nothing on forward pass -))

Implementations

impl BlankLayer[src]

impl BlankLayer[src]

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

Trait Implementations

impl AlgorithmTrait for BlankLayer[src]

impl BlankLayerTrait for BlankLayer[src]

impl Boxed for BlankLayer[src]

impl Drop for BlankLayer[src]

impl LayerTrait for BlankLayer[src]

impl Send for BlankLayer[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.