latest version v1.9 - last update 10 Apr 2010 |
Distance propagation functor. More...
#include <ltiStdLayer.h>
Public Member Functions | |
distancePropFunctor (const activationFunctor &theAct, eNormType theNorm=L2distance) | |
bool | operator() (const dvector &input, const dmatrix &weights, dvector &outLayer) const |
Distance propagation functor.
lti::stdLayer::distancePropFunctor::distancePropFunctor | ( | const activationFunctor & | theAct, | |
eNormType | theNorm = L2distance | |||
) | [inline] |
Default constructor For Propagation L1 and L2 norm can be used.
bool lti::stdLayer::distancePropFunctor::operator() | ( | const dvector & | input, | |
const dmatrix & | weights, | |||
dvector & | outLayer | |||
) | const [virtual] |
The functor operator.
input | the input vector | |
weights | the weights matrix of the layer | |
outLayer | the output vector |
Implements lti::stdLayer::propagationFunctor.