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

#include <ctxOutput.h>

Inheritance diagram for ctxInputOutputUnifier:
ctxInput ctxOutput ctxSignalSource ctxInputInterface ctxCortexLayer ctxOutputInterface ctxSignalSourceInterface ctxDebugInterface ctxCompileInterface ctxPropagateInterface ctxIOImageSampler

Public Member Functions

 ctxInputOutputUnifier ()
virtual gzBool updateUnifier ()
virtual gzFloat getExpectedValue_U (ctxContext *context, gzUInt32 index, gzUInt32 sample)=0
 Bit expected value.
virtual gzFloat getValue_U (ctxContext *context, gzUInt32 index, gzUInt32 sample)=0
 Bit sample value.
virtual gzFloat getValue (ctxContext *context, gzUInt32 index, gzUInt32 sample)
virtual gzFloat getExpectedValue (ctxContext *context, gzUInt32 index, gzUInt32 sample)
Public Member Functions inherited from ctxInput
virtual gzType * getType () const
 ctxInput ()
gzBool allocateInput (ctxContext *context, gzUInt32 index)
gzUInt32 getInputSourceID () const
gzVoid setInputSourceID (gzUInt32 source)
const gzArray< gzUInt32 > & getInputIndices () const
gzVoid setInputIndices (const gzArray< gzUInt32 > &indices)
Public Member Functions inherited from ctxSignalSource
 ctxSignalSource ()
gzVoid setUpdated (gzUInt32 updateID)
gzBool isUpdated (gzUInt32 updateID)
gzUInt32 getUpdateID ()
gzVoid setUpdatedDelta (gzUInt32 updateID)
gzBool isUpdatedDelta (gzUInt32 updateID)
gzVoid addReceiver (ctxSignalSource *receiver)
 Receivers -----------------------—.
gzVoid removeReceiver (ctxSignalSource *receiver)
gzUInt32 getNumberOfReceivers ()
gzUInt32 getNumberOfReceivers (ctxContext *context)
gzVoid setDelta (ctxContext *context, const gzFloat &value)
 Deltas --------------------------—.
gzFloat getDelta (ctxContext *context)
gzFloat getAvgDelta (ctxContext *context, gzUInt32 page=0)
gzBool compileReceiverDeltaSum (ctxContext *context)
const gzUInt32 & getSourceIndex () const
gzVoid setSourceIndex (const gzUInt32 &prop)
const gzUInt32 & getDeltaIndex () const
gzVoid setDeltaIndex (const gzUInt32 &prop)
gzVoid allocateDelta (ctxContext *context)
Public Member Functions inherited from ctxDebugInterface
gzVoid setDebugFlags (ctxDebugInstanceManager *manager, const ctxDebugFlags &flags)
ctxDebugFlags getDebugFlags (ctxDebugInstanceManager *manager)
gzVoid setLayerID (ctxDebugInstanceManager *manager, const gzUInt32 &layerID)
gzUInt32 getLayerID (ctxDebugInstanceManager *manager)
gzVoid setFeature (ctxDebugInstanceManager *manager, const gzUInt32 &featureIndex, const gzUInt32XYZ &featurePosition)
gzUInt32 getFeatureIndex (ctxDebugInstanceManager *manager)
gzUInt32XYZ getFeaturePosition (ctxDebugInstanceManager *manager)
Public Member Functions inherited from ctxInputInterface
virtual gzUInt32 getSampleSize ()=0
virtual gzUInt32 getSamples ()=0
virtual gzFloat getDefaultValue () const
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.
Public Member Functions inherited from ctxOutputInterface
virtual gzUInt32 getResultSize ()=0
 bit size (number of outputs)
virtual gzUInt32 getResults ()=0
 number of results. Shall match number of samples used

Additional Inherited Members

Static Public Member Functions inherited from ctxInput
static gzType * getClassType ()
Static Public Member Functions inherited from ctxSignalSource
static gzType * getClassType ()
Static Public Member Functions inherited from ctxOutput
static gzType * getClassType ()
Static Public Member Functions inherited from ctxCortexLayer
static gzType * getClassType ()
Public Attributes inherited from ctxDebugInterface
 GZ_DECLARE_TYPE_INTERFACE
 Provides Run Time Type Info (RTTI) for the gzTypeInterface.
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 201 of file ctxOutput.h.

Constructor & Destructor Documentation

◆ ctxInputOutputUnifier()

ctxInputOutputUnifier::ctxInputOutputUnifier ( )

References CTX_EXPORT.

Member Function Documentation

◆ getExpectedValue()

virtual gzFloat ctxInputOutputUnifier::getExpectedValue ( ctxContext * context,
gzUInt32 index,
gzUInt32 sample )
virtual

Implements ctxOutputInterface.

References CTX_EXPORT.

◆ getExpectedValue_U()

virtual gzFloat ctxInputOutputUnifier::getExpectedValue_U ( ctxContext * context,
gzUInt32 index,
gzUInt32 sample )
pure virtual

Bit expected value.

Implemented in ctxIOImageSampler.

References CTX_EXPORT.

◆ getValue()

virtual gzFloat ctxInputOutputUnifier::getValue ( ctxContext * context,
gzUInt32 index,
gzUInt32 sample )
virtual

Implements ctxSignalSourceInterface.

References CTX_EXPORT.

◆ getValue_U()

virtual gzFloat ctxInputOutputUnifier::getValue_U ( ctxContext * context,
gzUInt32 index,
gzUInt32 sample )
pure virtual

Bit sample value.

Implemented in ctxIOImageSampler.

References CTX_EXPORT.

◆ updateUnifier()

virtual gzBool ctxInputOutputUnifier::updateUnifier ( )
virtual

References CTX_EXPORT.


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