#include <ConvolveVariable.h>
Inheritance diagram for PLearn::ConvolveVariable:
Public Member Functions | |
ConvolveVariable () | |
Default constructor for persistence. | |
ConvolveVariable (Variable *input, Variable *mask) | |
PLEARN_DECLARE_OBJECT (ConvolveVariable) | |
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 54 of file ConvolveVariable.h.
|
Reimplemented from PLearn::BinaryVariable. Definition at line 56 of file ConvolveVariable.h. Referenced by ConvolveVariable(). |
|
Default constructor for persistence.
Definition at line 60 of file ConvolveVariable.h. |
|
Definition at line 55 of file ConvolveVariable.cc. References inherited. |
|
Implements PLearn::Variable. Definition at line 76 of file ConvolveVariable.cc. References PLearn::Var::length(), PLearn::Variable::length(), PLearn::Var::width(), and PLearn::Variable::width(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 70 of file ConvolveVariable.cc. References PLearn::convolve(). |
|
|
|
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 ConvolveVariable.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 100 of file ConvolveVariable.cc. References PLERROR. |