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

#include <ctxOutputImpl.h>

Inheritance diagram for ctxMNISTOutput:
ctxOutput ctxCortexLayer ctxOutputInterface

Public Member Functions

 ctxMNISTOutput (const gzString &file_url)
virtual gzFloat getExpectedValue (ctxContext *context, gzUInt32 index, gzUInt32 currentSample) override
virtual gzUInt32 getResultSize () override
virtual gzUInt32 getResults () override
Public Member Functions inherited from ctxOutput
virtual gzType * getType () const
gzBool compile (ctxContext *context)
virtual gzFloat getOutputValue (ctxContext *context, gzUInt32 index, gzUInt32 page=0)
virtual gzUInt32 getOutputValueIndex (gzUInt32 index)
gzVoid translateValueIndices (ctxRegisterTranslation &translation)
const gzDynamicArray< gzUInt32 > & getOutputValueIndices () const
gzVoid setOutputValueIndices (const gzDynamicArray< gzUInt32 > &indices)
gzVoid propagate (ctxContext *context, ctxPropagateCommand command)
gzUInt32 getMaxValueIndex (ctxContext *context, gzUInt32 page=0)
gzUInt32 getMaxExpectedIndex (ctxContext *context, gzUInt32 page=0)
virtual gzBool isError (ctxContext *context, gzUInt32 page=0)
 If complete sample is wrong, defaults to max value of bit is same.
Public Member Functions inherited from ctxCortexLayer
 ctxCortexLayer ()
virtual ~ctxCortexLayer ()
gzVoid addLayerNeurons (gzUInt32 layerNeurons, ctxNeuronType type=CTX_NEURON_TYPE_DEFAULT, gzUInt32 synapses=0, ctxContext *shared=NULL)
gzVoid addConvolutionNeurons (ctxIndexControl source, ctxIndexControl filter, ctxContext *context, gzUInt32 maxNumberOfFeaturesDebug=0, ctxNeuronType type=CTX_NEURON_TYPE_DEFAULT, gzBool sharedBias=TRUE, gzUInt32 source_offset=0)
gzVoid addMappedConvolutionSynapses (gzUInt32 sourceFeatureIndex, gzUInt32 sourceFeatureCount, gzUInt32 destinationFeatureIndex, gzUInt32 destinationFeatureCount, gzUInt32 sourceWidth, gzUInt32 sourceHeight, gzUInt32 sourceDepth, gzUInt32 destinationWidth, gzUInt32 destinationHeight, gzUInt32 destinationDepth, gzUInt32 destinationOriginX, gzUInt32 destinationOriginY, gzUInt32 destinationOriginZ, gzUInt32 regionWidth, gzUInt32 regionHeight, gzUInt32 regionDepth, gzInt32 sourceOriginX, gzInt32 sourceOriginY, gzInt32 sourceOriginZ, gzUInt32 kernelWidth, gzUInt32 kernelHeight, gzUInt32 kernelDepth, gzUInt32 strideX, gzUInt32 strideY, gzUInt32 strideZ, gzUInt32 paddingLeft, gzUInt32 paddingTop, gzUInt32 paddingFront, gzUInt32 dilationX, gzUInt32 dilationY, gzUInt32 dilationZ, ctxCortexLayer *sourceLayer, ctxInput *input, ctxContext *context, gzUInt32 parameterBaseIndex, gzUInt32 mappingOccurrenceID, gzUInt32 parameterGroupID)
gzVoid addPoolingNeurons (ctxIndexControl source, ctxIndexControl filter, ctxContext *context=NULL, gzUInt32 maxNumberOfFeaturesDebug=0, ctxNeuronType type=CTX_NEURON_TYPE_MAX, gzUInt32 source_offset=0)
gzVoid setFeatureStart (ctxContext *context, gzUInt32 id, gzUInt32 features, gzUInt32 width, gzUInt32 height, gzUInt32 depth)
gzVoid setDropConnection (gzBool on)
gzVoid addNeuron (ctxNeuron *neuron)
gzVoid removeNeuron (ctxNeuron *neuron)
gzVoid addSubLayer (ctxCortexLayer *layer, ctxLayerType type=CTX_IN_OUT_LAYER)
gzVoid removeSubLayer (ctxCortexLayer *layer)
ctxCortexLayer * getSubLayer (gzUInt32 layerIndex, ctxLayerType type=CTX_INPUT_LAYER)
ctxNeuron * getNeuron (gzUInt32 neuronIndex)
gzUInt32 getNeuronCount ()
gzRefList< ctxCortexLayer > & getSubInputLayerList ()
gzRefList< ctxCortexLayer > & getSubHiddenLayerList ()
gzRefList< ctxCortexLayer > & getSubOutputLayerList ()
gzVoid connectInput (ctxCortexLayer *input)
gzVoid connectInput (ctxNeuron *input)
gzVoid connectInput (ctxInput *input)
gzVoid connectOutput (ctxNeuron *output)
gzVoid connectOutput (ctxCortexLayer *output)
gzVoid setDebugFlags (ctxContext *context, ctxDebugFlags flags, gzUInt32 layerID, gzUInt32 maxCount=5, gzBool onSynapses=FALSE, gzUInt32 maxFeature=CTX_UNDEFINED_INDEX)
gzVoid debugConnections (gzUInt32 index=CTX_UNDEFINED_INDEX)
virtual gzReference * clone () const
 Built in clone.

Additional Inherited Members

Static Public Member Functions inherited from ctxOutput
static gzType * getClassType ()
Static Public Member Functions inherited from ctxCortexLayer
static gzType * getClassType ()
Protected Attributes inherited from ctxCortexLayer
gzDynamicArray< ctxNeuronPtr > m_layerNeurons
gzRefList< ctxCortexLayer > m_subInputLayers
gzRefList< ctxCortexLayer > m_subHiddenLayers
gzRefList< ctxCortexLayer > m_subOutputLayers

Detailed Description

Definition at line 47 of file ctxOutputImpl.h.

Constructor & Destructor Documentation

◆ ctxMNISTOutput()

ctxMNISTOutput::ctxMNISTOutput ( const gzString & file_url)

References CTX_EXPORT.

Member Function Documentation

◆ getExpectedValue()

virtual gzFloat ctxMNISTOutput::getExpectedValue ( ctxContext * context,
gzUInt32 index,
gzUInt32 currentSample )
overridevirtual

Implements ctxOutputInterface.

References CTX_EXPORT.

◆ getResults()

virtual gzUInt32 ctxMNISTOutput::getResults ( )
overridevirtual

Implements ctxOutputInterface.

References CTX_EXPORT.

◆ getResultSize()

virtual gzUInt32 ctxMNISTOutput::getResultSize ( )
overridevirtual

Implements ctxOutputInterface.

References CTX_EXPORT.


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