#include <InvertElementsVariable.h>
Inheritance diagram for PLearn::InvertElementsVariable:
Public Member Functions | |
InvertElementsVariable () | |
Default constructor for persistence. | |
InvertElementsVariable (Variable *input) | |
PLEARN_DECLARE_OBJECT (InvertElementsVariable) | |
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 InvertElementsVariable.h. Referenced by InvertElementsVariable(). |
|
Default constructor for persistence.
Definition at line 58 of file InvertElementsVariable.h. |
|
Definition at line 56 of file InvertElementsVariable.cc. References inherited. |
|
Implements PLearn::Variable. Definition at line 77 of file InvertElementsVariable.cc. References k, and PLearn::Variable::nelems(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 70 of file InvertElementsVariable.cc. References k, and PLearn::Variable::nelems(). |
|
|
|
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 61 of file InvertElementsVariable.cc. References PLearn::Var::length(), and PLearn::Var::width(). |
|
Reimplemented from PLearn::Variable. Definition at line 95 of file InvertElementsVariable.cc. References k, 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 87 of file InvertElementsVariable.cc. |