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

#include <ctxOutput.h>

Inheritance diagram for ctxOutput:
ctxCortexLayer ctxOutputInterface ctxBatchTargetBinding ctxDummyOutput ctxInputOutputUnifier ctxMNISTOutput ctxIOImageSampler

Public Member Functions

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.
Public Member Functions inherited from ctxOutputInterface
virtual gzFloat getExpectedValue (ctxContext *context, gzUInt32 index, gzUInt32 currentSample)=0
 Bit expected value.
virtual gzUInt32 getResultSize ()=0
 bit size (number of outputs)
virtual gzUInt32 getResults ()=0
 number of results. Shall match number of samples used

Static Public Member Functions

static gzType * getClassType ()
Static Public Member Functions inherited from ctxCortexLayer
static gzType * getClassType ()

Additional Inherited Members

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 103 of file ctxOutput.h.

Member Function Documentation

◆ compile()

gzBool ctxOutput::compile ( ctxContext * context)

References CTX_EXPORT.

◆ getClassType()

gzType * ctxOutput::getClassType ( )
static

References CTX_EXPORT.

◆ getMaxExpectedIndex()

gzUInt32 ctxOutput::getMaxExpectedIndex ( ctxContext * context,
gzUInt32 page = 0 )

References CTX_EXPORT.

◆ getMaxValueIndex()

gzUInt32 ctxOutput::getMaxValueIndex ( ctxContext * context,
gzUInt32 page = 0 )

References CTX_EXPORT.

◆ getOutputValue()

virtual gzFloat ctxOutput::getOutputValue ( ctxContext * context,
gzUInt32 index,
gzUInt32 page = 0 )
virtual

Implements ctxOutputInterface.

References CTX_EXPORT.

◆ getOutputValueIndex()

virtual gzUInt32 ctxOutput::getOutputValueIndex ( gzUInt32 index)
virtual

References CTX_EXPORT.

◆ getOutputValueIndices()

const gzDynamicArray< gzUInt32 > & ctxOutput::getOutputValueIndices ( ) const
inline

Definition at line 116 of file ctxOutput.h.

References CTX_EXPORT.

◆ getType()

virtual gzType * ctxOutput::getType ( ) const
virtual

Reimplemented from ctxCortexLayer.

◆ isError()

virtual gzBool ctxOutput::isError ( ctxContext * context,
gzUInt32 page = 0 )
virtual

If complete sample is wrong, defaults to max value of bit is same.

References CTX_EXPORT.

◆ propagate()

gzVoid ctxOutput::propagate ( ctxContext * context,
ctxPropagateCommand command )

References CTX_EXPORT.

◆ setOutputValueIndices()

gzVoid ctxOutput::setOutputValueIndices ( const gzDynamicArray< gzUInt32 > & indices)
inline

Definition at line 117 of file ctxOutput.h.

References CTX_EXPORT.

◆ translateValueIndices()

gzVoid ctxOutput::translateValueIndices ( ctxRegisterTranslation & translation)

References CTX_EXPORT.


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