Class Layer

public class Layer
extends Algorithm
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.