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

Opt-in custom contract whose callbacks may run at first materialization. More...

#include <ctxGraph.h>

Inheritance diagram for ctxDeferredOperationSchema:
ctxOperationSchema ctxParameterOperationSchema

Public Member Functions

virtual gzType * getType () const
 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 ctxOperationSchema
static gzType * getClassType ()

Detailed Description

Opt-in custom contract whose callbacks may run at first materialization.

Shapes and ports validate at build; requested profiles validate before callbacks. Lowerers must not depend on build-time side effects or registry lookup, and must leave all per-realization state in the supplied lowering context. Ordinary custom ctxOperationSchema registrations retain eager build behavior.

Definition at line 476 of file ctxGraph.h.

Constructor & Destructor Documentation

◆ ctxDeferredOperationSchema() [1/2]

ctxDeferredOperationSchema::ctxDeferredOperationSchema ( const gzString & key,
gzUInt32 version,
ctxGraphOperationLowerer * operationLowerer,
ctxGraphConnectionLowerer * connectionLowerer,
gzBool derivatives )

References CTX_EXPORT.

◆ ctxDeferredOperationSchema() [2/2]

ctxDeferredOperationSchema::ctxDeferredOperationSchema ( const gzString & key,
gzUInt32 version,
ctxGraphOperationType role,
ctxGraphOperationLowerer * operationLowerer,
ctxGraphConnectionLowerer * connectionLowerer,
gzBool derivatives )

References CTX_EXPORT.

Member Function Documentation

◆ getClassType()

gzType * ctxDeferredOperationSchema::getClassType ( )
static

References CTX_EXPORT.

◆ getType()

virtual gzType * ctxDeferredOperationSchema::getType ( ) const
virtual

Reimplemented from ctxOperationSchema.

Reimplemented in ctxParameterOperationSchema.


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