libeblearn
ebl::cutborder_module< T, Tstate > Class Template Reference

#include <ebl_basic.h>

Inheritance diagram for ebl::cutborder_module< T, Tstate >:
ebl::module_1_1< T, Tstate >

List of all members.

Public Member Functions

 cutborder_module (int nr, int nc)
virtual ~cutborder_module ()
 destructor
virtual void fprop (Tstate &in, Tstate &out)
 forward propagation from in to out
virtual void bprop (Tstate &in, Tstate &out)
 backward propagation from out to in
virtual void bbprop (Tstate &in, Tstate &out)
 second-derivative backward propagation from out to in

Detailed Description

template<typename T, class Tstate = bbstate_idx<T>>
class ebl::cutborder_module< T, Tstate >

opposite of zero padding, sometimes one needs to cut the borders of an input to make it usable with a convolved output


Constructor & Destructor Documentation

template<typename T , class Tstate >
ebl::cutborder_module< T, Tstate >::cutborder_module ( int  nr,
int  nc 
)

<nrow> and <ncol> are the number of rows and colums that is going to be removed from borders. The output size is (nrow-2*nr and ncols-2*ncol) for each feature map.


The documentation for this class was generated from the following files: