#include <LogVariable.h>
Inheritance diagram for PLearn::LogVariable:
Public Member Functions | |
LogVariable () | |
Default constructor for persistence. | |
LogVariable (Variable *input) | |
PLEARN_DECLARE_OBJECT (LogVariable) | |
virtual void | recomputeSize (int &l, int &w) const |
Recomputes the length l and width w that this variable should have, according to its parent variables. | |
virtual void | fprop () |
compute output given input | |
virtual void | bprop () |
virtual void | symbolicBprop () |
compute a piece of new Var graph that represents the symbolic derivative of this Var | |
virtual void | rfprop () |
Private Types | |
typedef UnaryVariable | inherited |
|
Reimplemented from PLearn::UnaryVariable. Definition at line 54 of file LogVariable.h. Referenced by LogVariable(). |
|
Default constructor for persistence.
Definition at line 58 of file LogVariable.h. |
|
Definition at line 58 of file LogVariable.cc. References inherited. |
|
Implements PLearn::Variable. Definition at line 90 of file LogVariable.cc. References PLearn::Variable::nelems(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 71 of file LogVariable.cc. References PLearn::displayVarGraph(), PLearn::endl(), PLearn::Variable::nelems(), PLERROR, and PLearn::safeflog(). |
|
|
|
Recomputes the length l and width w that this variable should have, according to its parent variables. This is used for ex. by sizeprop() The default version stupidly returns the current dimensions, so make sure to overload it in subclasses if this is not appropriate. Reimplemented from PLearn::Variable. Definition at line 62 of file LogVariable.cc. References PLearn::Var::length(), and PLearn::Var::width(). |
|
Reimplemented from PLearn::Variable. Definition at line 105 of file LogVariable.cc. References PLearn::TVec< T >::length(), PLearn::Variable::nelems(), and PLearn::UnaryVariable::resizeRValue(). |
|
compute a piece of new Var graph that represents the symbolic derivative of this Var
Reimplemented from PLearn::Variable. Definition at line 98 of file LogVariable.cc. |