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

An interface to lua modules. More...

#include <ebl_lua.h>

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

List of all members.

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

Detailed Description

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

An interface to lua modules.


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