libeblearn
|
An interface to lua modules. More...
#include <ebl_lua.h>
Public Member Functions | |
lua_module (const char *script, const char *name="lua") | |
Constructor. | |
virtual | ~lua_module () |
destructor | |
virtual void | fprop (mstate< Tstate > &in, mstate< Tstate > &out) |
forward propagation from in to out | |
virtual void | bprop (mstate< Tstate > &in, mstate< Tstate > &out) |
backward propagation from out to in | |
virtual void | bbprop (mstate< Tstate > &in, mstate< Tstate > &out) |
second-derivative backward propagation from out to in | |
virtual std::string | describe () |
Returns a string describing this module and its parameters. | |
Protected Attributes | |
string | script_fname |
long | ninputs |
float ** | inputs |
long ** | inputs_size |
long | noutputs |
Current # of i/o states. | |
float ** | outputs |
long ** | outputs_size |
An interface to lua modules.