libeblearn
|
A module that flattens and concatenate multiple states. More...
#include <ebl_merge.h>
Public Member Functions | |
mstate_merge_module (midxdim &ins, mfidxdim &strides, const char *name_="mstate_merge") | |
virtual void | fprop (mstate< Tstate > &in, mstate< Tstate > &out) |
virtual void | bprop (mstate< Tstate > &in, mstate< Tstate > &out) |
virtual void | bbprop (mstate< Tstate > &in, mstate< Tstate > &out) |
virtual idxdim | fprop_size (idxdim &i_size) |
virtual fidxdim | bprop_size (const fidxdim &o_size) |
virtual std::string | describe () |
Returns a string describing this module and its parameters. |
A module that flattens and concatenate multiple states.
ebl::mstate_merge_module< T, Tstate >::mstate_merge_module | ( | midxdim & | ins, |
mfidxdim & | strides, | ||
const char * | name_ = "mstate_merge" |
||
) |
Initialize inputs list.
ins | A vector of input regions. |
strides | A vector of input strides. |
fidxdim ebl::mstate_merge_module< T, Tstate >::bprop_size | ( | const fidxdim & | o_size | ) | [virtual] |
Return dimensions compatible with this module given output dimensions. See module_1_1_gen's documentation for more details.
Extract its dimensions, update output size
Reimplemented from ebl::module_1_1< T, Tstate >.
idxdim ebl::mstate_merge_module< T, Tstate >::fprop_size | ( | idxdim & | i_size | ) | [virtual] |
Return dimensions that are compatible with this module. See module_1_1_gen's documentation for more details.
Extract its dimensions, update output size