#include <PLogPVariable.h>
Inheritance diagram for PLearn::PLogPVariable:
Public Member Functions | |
PLogPVariable () | |
Default constructor for persistence. | |
PLogPVariable (Variable *input) | |
PLEARN_DECLARE_OBJECT (PLogPVariable) | |
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 | |
Private Types | |
typedef UnaryVariable | inherited |
Definition at line 54 of file PLogPVariable.h.
|
Reimplemented from PLearn::UnaryVariable. Definition at line 56 of file PLogPVariable.h. Referenced by PLogPVariable(). |
|
Default constructor for persistence.
Definition at line 60 of file PLogPVariable.h. |
|
Definition at line 57 of file PLogPVariable.cc. References inherited. |
|
Implements PLearn::Variable. Definition at line 83 of file PLogPVariable.cc. References PLearn::Variable::nelems(), and PLearn::safeflog(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 71 of file PLogPVariable.cc. References PLearn::Variable::nelems(), 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 PLogPVariable.cc. References PLearn::Var::length(), and PLearn::Var::width(). |
|
compute a piece of new Var graph that represents the symbolic derivative of this Var
Reimplemented from PLearn::Variable. Definition at line 95 of file PLogPVariable.cc. References PLearn::log(). |