GClasses
|
Contains the buffers that a thread needs to train or use a GLayer. Each thread should use a separate GContextLayer object. Call GLayer::newContext to obtain a new GContextLayer object.
#include <GNeuralNet.h>
Public Member Functions | |
~GContextLayer () | |
virtual void | resetState () override |
See the comment for GContext::resetState. More... | |
Public Member Functions inherited from GClasses::GContext | |
GContext (GRand &rand) | |
virtual | ~GContext () |
Public Attributes | |
GVec | m_activation |
GVec | m_blame |
std::vector< GContextNeuralNet * > | m_components |
const GLayer & | m_layer |
std::vector< GContextRecurrent * > | m_recurrents |
Public Attributes inherited from GClasses::GContext | |
GRand & | m_rand |
Protected Member Functions | |
GContextLayer (GRand &rand, const GLayer &layer) | |
Friends | |
class | GLayer |
GClasses::GContextLayer::~GContextLayer | ( | ) |
|
overridevirtual |
See the comment for GContext::resetState.
Implements GClasses::GContext.
|
friend |
GVec GClasses::GContextLayer::m_activation |
GVec GClasses::GContextLayer::m_blame |
std::vector<GContextNeuralNet*> GClasses::GContextLayer::m_components |
const GLayer& GClasses::GContextLayer::m_layer |
std::vector<GContextRecurrent*> GClasses::GContextLayer::m_recurrents |