CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
ctxTrainer Class Referenceabstract

#include <ctxCortexTrainer.h>

Inheritance diagram for ctxTrainer:
ctxBackpropTrainer ctxGeneticTrainer

Public Member Functions

virtual gzType * getType () const
 ctxTrainer ()
virtual gzBool install (ctxCortex *cortex)
 Bind this session to one cortex.
virtual gzBool prepare ()=0
virtual gzBool trainStep ()=0
 Advance one bounded unit of the installed learning strategy.
virtual gzBool isPrepared () const =0
virtual gzBool isComplete () const =0
virtual gzBool saveCheckpoint (const gzString &url) const =0
virtual gzBool loadCheckpoint (const gzString &url)=0
virtual gzBool train ()
virtual ctxTrainerProgramProfile getProgramProfile () const =0
virtual gzUInt32 getCapabilities () const =0
ctxCortex * getCortex () const
gzString getError () const

Static Public Member Functions

static gzType * getClassType ()

Protected Attributes

ctxCortexPtr m_cortex
gzString m_error

Detailed Description

Definition at line 145 of file ctxCortexTrainer.h.

Constructor & Destructor Documentation

◆ ctxTrainer()

ctxTrainer::ctxTrainer ( )

References CTX_EXPORT.

Member Function Documentation

◆ getCapabilities()

virtual gzUInt32 ctxTrainer::getCapabilities ( ) const
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ getClassType()

gzType * ctxTrainer::getClassType ( )
static

References CTX_EXPORT.

◆ getCortex()

ctxCortex * ctxTrainer::getCortex ( ) const

References CTX_EXPORT.

◆ getError()

gzString ctxTrainer::getError ( ) const

References CTX_EXPORT.

◆ getProgramProfile()

virtual ctxTrainerProgramProfile ctxTrainer::getProgramProfile ( ) const
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ getType()

virtual gzType * ctxTrainer::getType ( ) const
virtual

Reimplemented in ctxBackpropTrainer, and ctxGeneticTrainer.

◆ install()

virtual gzBool ctxTrainer::install ( ctxCortex * cortex)
virtual

Bind this session to one cortex.

Reinstallation on that cortex is idempotent; a different cortex or NULL is rejected without changing the binding.

References CTX_EXPORT.

◆ isComplete()

virtual gzBool ctxTrainer::isComplete ( ) const
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ isPrepared()

virtual gzBool ctxTrainer::isPrepared ( ) const
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ loadCheckpoint()

virtual gzBool ctxTrainer::loadCheckpoint ( const gzString & url)
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ prepare()

virtual gzBool ctxTrainer::prepare ( )
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ saveCheckpoint()

virtual gzBool ctxTrainer::saveCheckpoint ( const gzString & url) const
pure virtual

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ train()

virtual gzBool ctxTrainer::train ( )
virtual

Reimplemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

◆ trainStep()

virtual gzBool ctxTrainer::trainStep ( )
pure virtual

Advance one bounded unit of the installed learning strategy.

Implemented in ctxBackpropTrainer, and ctxGeneticTrainer.

References CTX_EXPORT.

Member Data Documentation

◆ m_cortex

ctxCortexPtr ctxTrainer::m_cortex
protected

Definition at line 172 of file ctxCortexTrainer.h.

◆ m_error

gzString ctxTrainer::m_error
protected

Definition at line 173 of file ctxCortexTrainer.h.


The documentation for this class was generated from the following file: