libeblearn
ebl::m2s_module< T, Tin, Tout > Class Template Reference

#include <ebl_march.h>

Inheritance diagram for ebl::m2s_module< T, Tin, Tout >:
ebl::module_1_1< T, Tin, Tout > ebl::module

List of all members.

Public Member Functions

 m2s_module (uint nstates, const char *name="m2s_module")
virtual void fprop (mstate< Tin > &in, Tout &out)
virtual void bprop (mstate< Tin > &in, Tout &out)
virtual void bbprop (mstate< Tin > &in, Tout &out)
virtual mfidxdim bprop_size (mfidxdim &osize)
 Returns multiple input dimensions corresponding to output dims 'osize'.
virtual uint nstates ()
 Returns the number of states expected in input.

Protected Attributes

uint _nstates

Detailed Description

template<typename T, class Tin = bbstate_idx<T>, class Tout = Tin>
class ebl::m2s_module< T, Tin, Tout >

Multi-state input to single-state output module.


Constructor & Destructor Documentation

template<typename T , class Tin , class Tout >
ebl::m2s_module< T, Tin, Tout >::m2s_module ( uint  nstates,
const char *  name = "m2s_module< T, Tin, Tout >" 
)

Constructs a module that take a multi-state input with 'nstates' states and produces a single-state output.


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