|
libeblearn
|
#include <ebl_basic.h>
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 | |
opposite of zero padding, sometimes one needs to cut the borders of an input to make it usable with a convolved output
| 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.