#include <VarColumnsVariable.h>
Inheritance diagram for PLearn::VarColumnsVariable:
Public Member Functions | |
VarColumnsVariable () | |
Default constructor for persistence. | |
VarColumnsVariable (Variable *input1, Variable *input2) | |
PLEARN_DECLARE_OBJECT (VarColumnsVariable) | |
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 BinaryVariable | inherited |
Definition at line 56 of file VarColumnsVariable.h.
|
Reimplemented from PLearn::BinaryVariable. Definition at line 58 of file VarColumnsVariable.h. Referenced by VarColumnsVariable(). |
|
Default constructor for persistence.
Definition at line 62 of file VarColumnsVariable.h. |
|
Definition at line 53 of file VarColumnsVariable.cc. References inherited. |
|
Implements PLearn::Variable. Definition at line 76 of file VarColumnsVariable.cc. References PLearn::TMat< T >::column(), PLearn::Var::column(), and PLearn::Var::length(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 70 of file VarColumnsVariable.cc. |
|
|
|
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 60 of file VarColumnsVariable.cc. References PLearn::Var::length(). |
|
compute a piece of new Var graph that represents the symbolic derivative of this Var
Reimplemented from PLearn::Variable. Definition at line 83 of file VarColumnsVariable.cc. References PLERROR. |