Abstract class for different kind of layers. More...
#include <FgILayer.h>


Public Member Functions | |
| ILayer (LayerType type, int numPoints, int outputDim) | |
| Constructor. More... | |
| virtual | ~ILayer ()=default |
| Destructor. More... | |
| LayerType | GetType () |
| Gets the layer type. More... | |
| virtual int | GetNumParameters ()=0 |
| Gets number of parameters to be optimized. More... | |
| virtual void | SetParameters (const af::array ¶m)=0 |
| Sets the parameters for each optimization iteration. More... | |
| virtual af::array | GetParameters ()=0 |
| Gets the parameters for each optimization iteration. More... | |
| virtual void | UpdateParameters ()=0 |
| Updates the parameters. More... | |
| virtual void | SetDataSize (int length, int dimension) |
| Sets data size. More... | |
Protected Member Functions | |
| ILayer () | |
| Default constructor. More... | |
Protected Attributes | |
| int | iD |
| data dimension More... | |
| int | iN |
| data size More... | |
| LayerType | lType |
| liklihood or gp layer More... | |
| af::dtype | m_dType |
| floating point precision flag for af::array More... | |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, unsigned int version) |
Friends | |
| class | boost::serialization::access |
Abstract class for different kind of layers.
, 27.02.2018.
Definition at line 37 of file FgILayer.h.
|
inline |
Constructor.
, 26.06.2018.
| type | The type. |
| numPoints | Number of points. |
| outputDim | The output dim. |
Definition at line 50 of file FgILayer.h.
|
virtualdefault |
Destructor.
, 26.06.2018.
|
inlineprotected |
|
inline |
|
pure virtual |
Gets number of parameters to be optimized.
, 26.06.2018.
Implemented in NeuralEngine::MachineLearning::GPModels::GaussEmission< Scalar >, NeuralEngine::MachineLearning::GPModels::GPBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::LikelihoodBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::GaussLikLayer< Scalar >, and NeuralEngine::MachineLearning::GPModels::SparseGPBaseLayer< Scalar >.
|
pure virtual |
Sets the parameters for each optimization iteration.
, 26.06.2018.
| param | The parameter. |
Implemented in NeuralEngine::MachineLearning::GPModels::GaussEmission< Scalar >, NeuralEngine::MachineLearning::GPModels::GPBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::LikelihoodBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::GaussLikLayer< Scalar >, and NeuralEngine::MachineLearning::GPModels::SparseGPBaseLayer< Scalar >.
|
pure virtual |
Gets the parameters for each optimization iteration.
, 26.06.2018.
Implemented in NeuralEngine::MachineLearning::GPModels::GaussEmission< Scalar >, NeuralEngine::MachineLearning::GPModels::GPBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::LikelihoodBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::GaussLikLayer< Scalar >, and NeuralEngine::MachineLearning::GPModels::SparseGPBaseLayer< Scalar >.
|
pure virtual |
Updates the parameters.
, 26.06.2018.
Implemented in NeuralEngine::MachineLearning::GPModels::GaussEmission< Scalar >, NeuralEngine::MachineLearning::GPModels::GPBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::LikelihoodBaseLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::AEP::SGPLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::GaussLikLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::PowerEP::SGPLayer< Scalar >, NeuralEngine::MachineLearning::GPModels::PowerEP::SGPLayer2nd< Scalar >, and NeuralEngine::MachineLearning::GPModels::SparseGPBaseLayer< Scalar >.
|
inlinevirtual |
Sets data size.
Hmetal T, 03/09/2020.
| length | The length. |
| dimension | The dimension. |
Reimplemented in NeuralEngine::MachineLearning::GPModels::GPBaseLayer< Scalar >.
Definition at line 111 of file FgILayer.h.
|
inlineprivate |
Definition at line 137 of file FgILayer.h.
|
friend |
Definition at line 134 of file FgILayer.h.
|
protected |
data dimension
Definition at line 126 of file FgILayer.h.
|
protected |
data size
Definition at line 127 of file FgILayer.h.
|
protected |
liklihood or gp layer
Definition at line 129 of file FgILayer.h.
|
protected |
floating point precision flag for af::array
Definition at line 131 of file FgILayer.h.