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

Deferred rank-one unary FLOAT operation with a captured named parameter inventory. More...

#include <ctxGraph.h>

Inheritance diagram for ctxParameterOperationSchema:
ctxDeferredOperationSchema ctxOperationSchema

Public Member Functions

virtual gzType * getType () const
 ctxParameterOperationSchema (const gzString &key, gzUInt32 version, const gzArray< ctxParameterRole > &roles, ctxGraphOperationLowerer *operationLowerer, ctxGraphConnectionLowerer *connectionLowerer, gzBool derivatives)
gzBool hasValidInventory () const
gzUInt32 getRoleCount () const
ctxParameterRole getRole (gzUInt32 ordinal) const
gzUInt32 findRole (const gzString &name) const
Public Member Functions inherited from ctxDeferredOperationSchema
 ctxDeferredOperationSchema (const gzString &key, gzUInt32 version, ctxGraphOperationLowerer *operationLowerer, ctxGraphConnectionLowerer *connectionLowerer, gzBool derivatives)
 ctxDeferredOperationSchema (const gzString &key, gzUInt32 version, ctxGraphOperationType role, ctxGraphOperationLowerer *operationLowerer, ctxGraphConnectionLowerer *connectionLowerer, gzBool derivatives)
Public Member Functions inherited from ctxOperationSchema
 ctxOperationSchema (const gzString &key, gzUInt32 version, ctxGraphOperationLowerer *operationLowerer, ctxGraphConnectionLowerer *connectionLowerer, gzBool derivatives)
 ctxOperationSchema (const gzString &key, gzUInt32 version, ctxGraphOperationType role, ctxGraphOperationLowerer *operationLowerer, ctxGraphConnectionLowerer *connectionLowerer, gzBool derivatives)
 Explicit registered role: ACTIVATION, DENSE_FROM or CONVOLUTION_2D.
virtual gzBool useDeepCopy () override
gzString getKey () const
gzUInt32 getVersion () const
ctxGraphOperationType getCompatibilityType () const
gzBool isBuiltin () const
gzBool canSave () const
 Whether the retained contract supports graph-only XML serialization.
gzBool supportsDerivatives () const
gzBool supportsDeferredBuild () const
 Whether the captured contract permits generic lowering after build.
gzBool hasBias () const
gzBool hasWeights () const
gzUInt32 getInputCount () const
 Zero for Input, two for Add/Multiply, one for other compatibility contracts.
gzString getPortName (ctxPortKind kind) const
ctxValueType getValueType (ctxPortKind kind) const
ctxShape getShape (const ctxGraphOperation &operation) const
gzBool getSemanticAttributes (const ctxGraphOperation &operation, gzDynamicTypeContainer &attributes) const
gzBool validate (const ctxGraphOperation &operation, gzString &error) const
virtual gzBool validateData (const ctxOperationData &data, gzString &error) const
 Default contracts reject nonempty data; external definitions may opt in.
ctxGraphOperationLowererPtr getOperationLowerer () const
ctxGraphConnectionLowererPtr getConnectionLowerer () const

Static Public Member Functions

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

Detailed Description

Deferred rank-one unary FLOAT operation with a captured named parameter inventory.

Copies 1..128 unique roles in declaration order, at most 65534 elements total. Each element must bind to one native bias or weighted signal in ctxParameterLayer, covering all native parameter owners in that layer exactly once. These are trainable parameters, not mutable operation state. No additional bank, CAL dialect or existing ABI layout/vtable is introduced.

Definition at line 518 of file ctxGraph.h.

Constructor & Destructor Documentation

◆ ctxParameterOperationSchema()

ctxParameterOperationSchema::ctxParameterOperationSchema ( const gzString & key,
gzUInt32 version,
const gzArray< ctxParameterRole > & roles,
ctxGraphOperationLowerer * operationLowerer,
ctxGraphConnectionLowerer * connectionLowerer,
gzBool derivatives )

References CTX_EXPORT.

Member Function Documentation

◆ findRole()

gzUInt32 ctxParameterOperationSchema::findRole ( const gzString & name) const

References CTX_EXPORT.

◆ getClassType()

gzType * ctxParameterOperationSchema::getClassType ( )
static

References CTX_EXPORT.

◆ getRole()

ctxParameterRole ctxParameterOperationSchema::getRole ( gzUInt32 ordinal) const

References CTX_EXPORT.

◆ getRoleCount()

gzUInt32 ctxParameterOperationSchema::getRoleCount ( ) const

References CTX_EXPORT.

◆ getType()

virtual gzType * ctxParameterOperationSchema::getType ( ) const
virtual

Reimplemented from ctxDeferredOperationSchema.

◆ hasValidInventory()

gzBool ctxParameterOperationSchema::hasValidInventory ( ) const

References CTX_EXPORT.


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