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

#include <ctxInputImpl.h>

Inheritance diagram for ctxMNISTInput:
ctxInput ctxSignalSource ctxInputInterface ctxSignalSourceInterface ctxDebugInterface ctxCompileInterface ctxPropagateInterface

Public Member Functions

 ctxMNISTInput (const gzString &file_url)
virtual gzFloat getValue (ctxContext *context, gzUInt32 index=0, gzUInt32 sample=0) override
virtual gzUInt32 getSampleSize () override
virtual gzUInt32 getSamples () override
virtual gzFloat getDefaultValue () const override
const gzUInt32 & getRows () const
const gzUInt32 & getCols () const
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)

Additional Inherited Members

Static Public Member Functions inherited from ctxInput
static gzType * getClassType ()
Static Public Member Functions inherited from ctxSignalSource
static gzType * getClassType ()
Public Attributes inherited from ctxDebugInterface
 GZ_DECLARE_TYPE_INTERFACE
 Provides Run Time Type Info (RTTI) for the gzTypeInterface.

Detailed Description

Definition at line 90 of file ctxInputImpl.h.

Constructor & Destructor Documentation

◆ ctxMNISTInput()

ctxMNISTInput::ctxMNISTInput ( const gzString & file_url)

References CTX_EXPORT.

Member Function Documentation

◆ getCols()

const gzUInt32 & ctxMNISTInput::getCols ( ) const

References CTX_EXPORT.

◆ getDefaultValue()

virtual gzFloat ctxMNISTInput::getDefaultValue ( ) const
overridevirtual

Reimplemented from ctxInputInterface.

References CTX_EXPORT.

◆ getRows()

const gzUInt32 & ctxMNISTInput::getRows ( ) const

References CTX_EXPORT.

◆ getSamples()

virtual gzUInt32 ctxMNISTInput::getSamples ( )
overridevirtual

Implements ctxInputInterface.

References CTX_EXPORT.

◆ getSampleSize()

virtual gzUInt32 ctxMNISTInput::getSampleSize ( )
overridevirtual

Implements ctxInputInterface.

References CTX_EXPORT.

◆ getValue()

virtual gzFloat ctxMNISTInput::getValue ( ctxContext * context,
gzUInt32 index = 0,
gzUInt32 sample = 0 )
overridevirtual

Implements ctxSignalSourceInterface.

References CTX_EXPORT.


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