#include <FgGPLVMBaseModel.h>
Public Member Functions | |
Style (std::string name) | |
Default constructor. More... | |
Style () | |
Default constructor. More... | |
virtual | ~Style () |
Destructor. More... | |
virtual void | AddSubstyle (std::string name, int numFrames) |
Adds a sub-style. More... | |
virtual int | GetNumSubstyles () |
Gets number of sub-styles. More... | |
virtual int | GetNumInducingSubstyles () |
Gets number of inducing sub-styles. More... | |
af::array | GetStyle () |
Gets the style variable. More... | |
std::map< std::string, int > | GetSubstyles () |
Gets the sub-styles. More... | |
af::array | GetStyleExpanded () |
Gets style variable expanded to match associated /f$\matchbf{x}$/f. More... | |
af::array | GetInducingStyleExpanded () |
Gets inducing style expanded. More... | |
const af::array | GetStyleIndex () |
Gets style index. More... | |
void | SetInducingStyleIndex (const af::array &indx) |
Sets inducing style index. More... | |
void | GetFactorsExpanded (af::array &X1, af::array &X2) |
Gets factor x coordinate 1. More... | |
std::string | GetName () |
Gets the name of the style. More... | |
int | GetNumParameters () |
Gets number parameters. More... | |
int | GetNumInducingParameters () |
Gets number of inducing parameters. More... | |
af::array | GetParameters () |
Gets the parameters. More... | |
void | SetParameters (const af::array ¶m) |
Sets the parameters. More... | |
af::array | GetInducingParameters () |
Gets inducing parameters. More... | |
void | SetInducingParameters (const af::array ¶m) |
Sets inducing parameters. More... | |
void | UpdatePosterior (const af::array &postX1, const af::array &postX2) |
Updates the parameters. More... | |
af::array | GetGradientCollapsed (const af::array &factorGradient) |
Gets gradient collapsed. More... | |
af::array | GetInducingGradientCollapsed (const af::array &styleGradient) |
Gets style inducing gradient collapsed. More... | |
void | InitFactors (const af::array &expandedX1, const af::array &expandedX2) |
Initializes the factors. More... | |
Protected Attributes | |
af::array | afStyleIdx |
af::array | afStyleInducingIdx |
af::array | afStyle |
af::array | afInducingStyle |
af::array | afFactorX1 |
af::array | afFactorX2 |
af::array | afPosteriorX1 |
af::array | afPosteriorX2 |
std::map< std::string, int > | mSubStyles |
std::string | sName |
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 |
Style variable.
Hmetal T, 25/09/2020.
Scalar | Type of the scalar. |
Definition at line 32 of file FgGPLVMBaseModel.h.
NeuralEngine::MachineLearning::GPModels::Style< Scalar >::Style | ( | std::string | name | ) |
Default constructor.
Hmetal T, 25/09/2020.
name | The name of the style. |
|
inline |
|
virtual |
Destructor.
Hmetal T, 25/09/2020.
|
virtual |
Adds a sub-style.
Hmetal T, 25/09/2020.
name | The name of the sub-style. |
numFrames | Number of frames. |
|
virtual |
Gets number of sub-styles.
Hmetal T, 25/09/2020.
|
virtual |
Gets number of inducing sub-styles.
Hmetal T, 25/09/2020.
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetStyle | ( | ) |
Gets the style variable.
Hmetal T, 25/09/2020.
std::map< std::string, int > NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetSubstyles | ( | ) |
Gets the sub-styles.
Hmetal T, 25/09/2020.
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetStyleExpanded | ( | ) |
Gets style variable expanded to match associated /f$\matchbf{x}$/f.
Hmetal T, 25/09/2020.
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetInducingStyleExpanded | ( | ) |
Gets inducing style expanded.
Hmetal T, 09/11/2020.
const af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetStyleIndex | ( | ) |
Gets style index.
Hmetal T, 28/09/2020.
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::SetInducingStyleIndex | ( | const af::array & | indx | ) |
Sets inducing style index.
Hmetal T, 06/11/2020.
indx | The indx. |
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetFactorsExpanded | ( | af::array & | X1, |
af::array & | X2 | ||
) |
Gets factor x coordinate 1.
Hmetal T, 28/09/2020.
std::string NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetName | ( | ) |
Gets the name of the style.
Hmetal T, 25/09/2020.
int NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetNumParameters | ( | ) |
Gets number parameters.
Hmetal T, 25/09/2020.
int NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetNumInducingParameters | ( | ) |
Gets number of inducing parameters.
Hmetal T, 06/11/2020.
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetParameters | ( | ) |
Gets the parameters.
Hmetal T, 25/09/2020.
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::SetParameters | ( | const af::array & | param | ) |
Sets the parameters.
Hmetal T, 25/09/2020.
param | [in,out] The parameter. |
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetInducingParameters | ( | ) |
Gets inducing parameters.
Hmetal T, 09/11/2020.
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::SetInducingParameters | ( | const af::array & | param | ) |
Sets inducing parameters.
Hmetal T, 09/11/2020.
param | The parameter. |
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::UpdatePosterior | ( | const af::array & | postX1, |
const af::array & | postX2 | ||
) |
Updates the parameters.
Hmetal T, 28/09/2020.
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetGradientCollapsed | ( | const af::array & | factorGradient | ) |
Gets gradient collapsed.
Hmetal T, 28/09/2020.
factorFradient | [in,out] The factor fradient. |
af::array NeuralEngine::MachineLearning::GPModels::Style< Scalar >::GetInducingGradientCollapsed | ( | const af::array & | styleGradient | ) |
Gets style inducing gradient collapsed.
HmetalT, 06/11/2020.
styleGradient | The style gradient. |
void NeuralEngine::MachineLearning::GPModels::Style< Scalar >::InitFactors | ( | const af::array & | expandedX1, |
const af::array & | expandedX2 | ||
) |
Initializes the factors.
Hmetal T, 28/09/2020.
expandedX1 | [in,out] The first expanded x coordinate. |
expandedX1 | [in,out] The first expanded x coordinate. |
|
inlineprivate |
Definition at line 271 of file FgGPLVMBaseModel.h.
|
friend |
Definition at line 268 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 253 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 254 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 255 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 256 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 257 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 258 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 259 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 260 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 261 of file FgGPLVMBaseModel.h.
|
protected |
Definition at line 263 of file FgGPLVMBaseModel.h.
|
protected |
floating point precision flag for af::array
Definition at line 265 of file FgGPLVMBaseModel.h.