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

Realization-local owner bindings for a named-parameter operation's flat native layer. More...

#include <ctxGraph.h>

Inheritance diagram for ctxParameterLayer:
ctxCortexLayer

Public Member Functions

virtual gzType * getType () const
 ctxParameterLayer (ctxParameterOperationSchema *schema)
gzBool bindBias (const gzString &role, gzUInt32 element, gzUInt32 neuron)
 Binds one role element to a native neuron bias; failure changes nothing.
gzBool bindWeight (const gzString &role, gzUInt32 element, gzUInt32 neuron, gzUInt32 signal)
 Binds one role element to a native ctxSynapseWeight; failure changes nothing.
gzBool validateBindings (const ctxOperationSchema *schema, gzString &error) const
gzBool getParameterIndex (gzUInt32 role, gzUInt32 element, gzUInt32 &index) const
 Resolves the current translated native owner; output is unchanged on failure.
gzBool setParameterIndex (gzUInt32 role, gzUInt32 element, gzUInt32 index)
 Used by semantic sharing before compilation, not a permanent bank binding.
virtual gzReference * clone () const override
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)

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

Realization-local owner bindings for a named-parameter operation's flat native layer.

Coordinates address this layer's neurons and weighted signal ordinals, never persistent bank indices or foreign raw owners. Bind after connections exist. Clone/copy retains coordinates and the native layer's reference-copy semantics. Missing, duplicate or invalid owners reject materialization transactionally.

Definition at line 546 of file ctxGraph.h.

Constructor & Destructor Documentation

◆ ctxParameterLayer()

ctxParameterLayer::ctxParameterLayer ( ctxParameterOperationSchema * schema)
explicit

References CTX_EXPORT.

Member Function Documentation

◆ bindBias()

gzBool ctxParameterLayer::bindBias ( const gzString & role,
gzUInt32 element,
gzUInt32 neuron )

Binds one role element to a native neuron bias; failure changes nothing.

References CTX_EXPORT.

◆ bindWeight()

gzBool ctxParameterLayer::bindWeight ( const gzString & role,
gzUInt32 element,
gzUInt32 neuron,
gzUInt32 signal )

Binds one role element to a native ctxSynapseWeight; failure changes nothing.

References CTX_EXPORT.

◆ clone()

virtual gzReference * ctxParameterLayer::clone ( ) const
overridevirtual

Reimplemented from ctxCortexLayer.

References CTX_EXPORT.

◆ getClassType()

gzType * ctxParameterLayer::getClassType ( )
static

References CTX_EXPORT.

◆ getParameterIndex()

gzBool ctxParameterLayer::getParameterIndex ( gzUInt32 role,
gzUInt32 element,
gzUInt32 & index ) const

Resolves the current translated native owner; output is unchanged on failure.

References CTX_EXPORT.

◆ getType()

virtual gzType * ctxParameterLayer::getType ( ) const
virtual

Reimplemented from ctxCortexLayer.

◆ setParameterIndex()

gzBool ctxParameterLayer::setParameterIndex ( gzUInt32 role,
gzUInt32 element,
gzUInt32 index )

Used by semantic sharing before compilation, not a permanent bank binding.

References CTX_EXPORT.

◆ validateBindings()

gzBool ctxParameterLayer::validateBindings ( const ctxOperationSchema * schema,
gzString & error ) const

References CTX_EXPORT.


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