#include <MatrixAffineTransformFeedbackVariable.h>
Inheritance diagram for PLearn::MatrixAffineTransformFeedbackVariable:
Public Member Functions | |
MatrixAffineTransformFeedbackVariable () | |
Default constructor for persistence. | |
MatrixAffineTransformFeedbackVariable (Variable *g, Variable *input) | |
PLEARN_DECLARE_OBJECT (MatrixAffineTransformFeedbackVariable) | |
virtual void | fprop () |
compute output given input | |
virtual void | bprop () |
Private Types | |
typedef BinaryVariable | inherited |
Should work for both column and row vectors: result vector will be of same kind (row or col) First row of transformation matrix contains bias b, following rows contain linear-transformation T Will compute b + x.T which is equivalent to b +
Definition at line 57 of file MatrixAffineTransformFeedbackVariable.h.
|
Reimplemented from PLearn::BinaryVariable. Definition at line 59 of file MatrixAffineTransformFeedbackVariable.h. |
|
Default constructor for persistence.
Definition at line 63 of file MatrixAffineTransformFeedbackVariable.h. |
|
Definition at line 64 of file MatrixAffineTransformFeedbackVariable.h. |
|
Implements PLearn::Variable. Definition at line 72 of file MatrixAffineTransformFeedbackVariable.h. |
|
compute output given input
Implements PLearn::Variable. Definition at line 59 of file MatrixAffineTransformFeedbackVariable.cc. References PLearn::TMat< T >::firstRow(), PLearn::Var::length(), PLearn::TMat< T >::length(), PLearn::Mat, PLearn::productTransposeAcc(), PLearn::TMat< T >::subMatRows(), PLearn::Vec, and PLearn::Var::width(). |
|
|