NormLinker Class Reference
NormLinker Class. More...

Public Member Functions | |
NormLinker (Cluster *from, Cluster *to, QString name="unnamed") | |
Connect clusters with a complete connections. | |
NormLinker (ConfigurationParameters ¶ms, QString prefix) | |
Constructor. | |
virtual | ~NormLinker () |
Destructor. | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Save the actual status of parameters into the ConfigurationParameters object passed. | |
void | update () |
Performs the euclidean norm calculation. | |
Protected Attributes | |
DoubleVector | temp |
Detailed Description
NormLinker Class.
Definition at line 34 of file normlinker.h.
Constructor & Destructor Documentation
NormLinker | ( | Cluster * | from, |
Cluster * | to, | ||
QString | name = "unnamed" |
||
) |
Connect clusters with a complete connections.
Definition at line 25 of file normlinker.cpp.
NormLinker | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) |
Constructor.
Definition at line 29 of file normlinker.cpp.
~NormLinker | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file normlinker.cpp.
Member Function Documentation
void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Save the actual status of parameters into the ConfigurationParameters object passed.
- Parameters:
-
params the configuration parameters object on which save actual parameters prefix the prefix to use to access the object configuration parameters.
Reimplemented from MatrixLinker.
Definition at line 52 of file normlinker.cpp.
References ConfigurationParameters::startObjectParameters().
void update | ( | ) | [virtual] |
Performs the euclidean norm calculation.
Implements Updatable.
Definition at line 37 of file normlinker.cpp.
References MatrixLinker::cols(), DoubleMatrix::column(), Linker::fromVector(), MatrixLinker::matrix(), Cluster::resetInputs(), farsa::square(), farsa::subtract(), farsa::sum(), Linker::to(), Linker::toVector(), and DoubleVector::zeroing().
The documentation for this class was generated from the following files:
- nnfw/include/normlinker.h
- nnfw/src/normlinker.cpp