|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
#include <ctxCortexLayer.h>
Public Member Functions | |
| virtual gzType * | getType () const |
| 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. | |
Static Public Member Functions | |
| static gzType * | getClassType () |
Protected Attributes | |
| gzDynamicArray< ctxNeuronPtr > | m_layerNeurons |
| gzRefList< ctxCortexLayer > | m_subInputLayers |
| gzRefList< ctxCortexLayer > | m_subHiddenLayers |
| gzRefList< ctxCortexLayer > | m_subOutputLayers |
Friends | |
| class | ctxCortex |
Definition at line 108 of file ctxCortexLayer.h.
| ctxCortexLayer::ctxCortexLayer | ( | ) |
References CTX_EXPORT.
Referenced by addMappedConvolutionSynapses(), addSubLayer(), connectInput(), connectOutput(), getSubLayer(), and removeSubLayer().
|
virtual |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::addConvolutionNeurons | ( | ctxIndexControl | source, |
| ctxIndexControl | filter, | ||
| ctxContext * | context, | ||
| gzUInt32 | maxNumberOfFeaturesDebug = 0, | ||
| ctxNeuronType | type = CTX_NEURON_TYPE_DEFAULT, | ||
| gzBool | sharedBias = TRUE, | ||
| gzUInt32 | source_offset = 0 ) |
References CTX_EXPORT, and CTX_NEURON_TYPE_DEFAULT.
| gzVoid ctxCortexLayer::addLayerNeurons | ( | gzUInt32 | layerNeurons, |
| ctxNeuronType | type = CTX_NEURON_TYPE_DEFAULT, | ||
| gzUInt32 | synapses = 0, | ||
| ctxContext * | shared = NULL ) |
References CTX_EXPORT, and CTX_NEURON_TYPE_DEFAULT.
| gzVoid ctxCortexLayer::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 ) |
References CTX_EXPORT, and ctxCortexLayer().
| gzVoid ctxCortexLayer::addNeuron | ( | ctxNeuron * | neuron | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::addPoolingNeurons | ( | ctxIndexControl | source, |
| ctxIndexControl | filter, | ||
| ctxContext * | context = NULL, | ||
| gzUInt32 | maxNumberOfFeaturesDebug = 0, | ||
| ctxNeuronType | type = CTX_NEURON_TYPE_MAX, | ||
| gzUInt32 | source_offset = 0 ) |
References CTX_EXPORT, and CTX_NEURON_TYPE_MAX.
| gzVoid ctxCortexLayer::addSubLayer | ( | ctxCortexLayer * | layer, |
| ctxLayerType | type = CTX_IN_OUT_LAYER ) |
References CTX_EXPORT, CTX_IN_OUT_LAYER, and ctxCortexLayer().
|
virtual |
| gzVoid ctxCortexLayer::connectInput | ( | ctxCortexLayer * | input | ) |
References CTX_EXPORT, and ctxCortexLayer().
| gzVoid ctxCortexLayer::connectInput | ( | ctxInput * | input | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::connectInput | ( | ctxNeuron * | input | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::connectOutput | ( | ctxCortexLayer * | output | ) |
References CTX_EXPORT, and ctxCortexLayer().
| gzVoid ctxCortexLayer::connectOutput | ( | ctxNeuron * | output | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::debugConnections | ( | gzUInt32 | index = CTX_UNDEFINED_INDEX | ) |
References CTX_EXPORT, and CTX_UNDEFINED_INDEX.
|
static |
References CTX_EXPORT.
| ctxNeuron * ctxCortexLayer::getNeuron | ( | gzUInt32 | neuronIndex | ) |
References CTX_EXPORT.
| gzUInt32 ctxCortexLayer::getNeuronCount | ( | ) |
References CTX_EXPORT.
|
inline |
Definition at line 151 of file ctxCortexLayer.h.
References CTX_EXPORT, and m_subHiddenLayers.
|
inline |
Definition at line 150 of file ctxCortexLayer.h.
References CTX_EXPORT, and m_subInputLayers.
| ctxCortexLayer * ctxCortexLayer::getSubLayer | ( | gzUInt32 | layerIndex, |
| ctxLayerType | type = CTX_INPUT_LAYER ) |
References CTX_EXPORT, CTX_INPUT_LAYER, and ctxCortexLayer().
|
inline |
Definition at line 152 of file ctxCortexLayer.h.
References CTX_EXPORT, and m_subOutputLayers.
|
virtual |
Reimplemented in ctxOutput, and ctxParameterLayer.
| gzVoid ctxCortexLayer::removeNeuron | ( | ctxNeuron * | neuron | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::removeSubLayer | ( | ctxCortexLayer * | layer | ) |
References CTX_EXPORT, and ctxCortexLayer().
| gzVoid ctxCortexLayer::setDebugFlags | ( | ctxContext * | context, |
| ctxDebugFlags | flags, | ||
| gzUInt32 | layerID, | ||
| gzUInt32 | maxCount = 5, | ||
| gzBool | onSynapses = FALSE, | ||
| gzUInt32 | maxFeature = CTX_UNDEFINED_INDEX ) |
References CTX_EXPORT, and CTX_UNDEFINED_INDEX.
| gzVoid ctxCortexLayer::setDropConnection | ( | gzBool | on | ) |
References CTX_EXPORT.
| gzVoid ctxCortexLayer::setFeatureStart | ( | ctxContext * | context, |
| gzUInt32 | id, | ||
| gzUInt32 | features, | ||
| gzUInt32 | width, | ||
| gzUInt32 | height, | ||
| gzUInt32 | depth ) |
References CTX_EXPORT.
|
friend |
|
protected |
Definition at line 172 of file ctxCortexLayer.h.
|
protected |
Definition at line 175 of file ctxCortexLayer.h.
Referenced by getSubHiddenLayerList().
|
protected |
Definition at line 174 of file ctxCortexLayer.h.
Referenced by getSubInputLayerList().
|
protected |
Definition at line 176 of file ctxCortexLayer.h.
Referenced by getSubOutputLayerList().