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

A module that flattens and concatenate multiple states. More...

#include <ebl_merge.h>

Inheritance diagram for ebl::mstate_merge_module< T, Tstate >:
ebl::module_1_1< T, Tstate > ebl::module

List of all members.

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.

Detailed Description

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

A module that flattens and concatenate multiple states.


Constructor & Destructor Documentation

template<typename T , class Tstate >
ebl::mstate_merge_module< T, Tstate >::mstate_merge_module ( midxdim &  ins,
mfidxdim &  strides,
const char *  name_ = "mstate_merge" 
)

Initialize inputs list.

Parameters:
insA vector of input regions.
stridesA vector of input strides.

Member Function Documentation

template<typename T , class Tstate >
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 >.

template<typename T , class 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


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