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

Retained whole rank-one or rank-four gzFloat result of one graph revision. More...

#include <ctxGraph.h>

Public Member Functions

 ctxValue ()
gzBool isValid () const
gzString getError () const
ctxGraphIdentity getGraphIdentity () const
ctxValueType getValueType () const
ctxShape getShape () const
ctxPortRef getPort () const
ctxValueRef get (gzUInt32 index) const
gzBool getGraph (ctxGraph &graph) const
 Binds directly to the retained state; failure leaves graph unchanged.

Friends

class ctxGraph
class ctxLayer
class ctxModule
ctxValue RmsNorm (const ctxValue &input, gzUInt32 axis, const gzString &name)
 Per-page RMS normalization of a rank-four value along one explicit axis: authors "name/rstd" = ReduceInverseRms(axis) and "name" = MultiplyBroadcast(axis) as one atomic edit.

Detailed Description

Retained whole rank-one or rank-four gzFloat result of one graph revision.

Assignment aliases the result. Layer calls author descendant revisions; numeric access remains explicit through ctxModel and scalar ctxValueRef.

Definition at line 935 of file ctxGraph.h.

Constructor & Destructor Documentation

◆ ctxValue()

ctxValue::ctxValue ( )

References CTX_EXPORT.

Referenced by RmsNorm.

Member Function Documentation

◆ get()

ctxValueRef ctxValue::get ( gzUInt32 index) const

References CTX_EXPORT.

◆ getError()

gzString ctxValue::getError ( ) const

References CTX_EXPORT.

◆ getGraph()

gzBool ctxValue::getGraph ( ctxGraph & graph) const

Binds directly to the retained state; failure leaves graph unchanged.

References CTX_EXPORT, and ctxGraph.

◆ getGraphIdentity()

ctxGraphIdentity ctxValue::getGraphIdentity ( ) const

References CTX_EXPORT.

◆ getPort()

ctxPortRef ctxValue::getPort ( ) const

References CTX_EXPORT.

◆ getShape()

ctxShape ctxValue::getShape ( ) const

References CTX_EXPORT.

◆ getValueType()

ctxValueType ctxValue::getValueType ( ) const

References CTX_EXPORT.

◆ isValid()

gzBool ctxValue::isValid ( ) const

References CTX_EXPORT.

◆ ctxGraph

friend class ctxGraph
friend

Definition at line 952 of file ctxGraph.h.

References ctxGraph.

Referenced by ctxGraph, and getGraph().

◆ ctxLayer

friend class ctxLayer
friend

Definition at line 953 of file ctxGraph.h.

References ctxLayer.

Referenced by ctxLayer.

◆ ctxModule

friend class ctxModule
friend

Definition at line 954 of file ctxGraph.h.

References ctxModule.

Referenced by ctxModule.

◆ RmsNorm

ctxValue RmsNorm ( const ctxValue & input,
gzUInt32 axis,
const gzString & name )
friend

Per-page RMS normalization of a rank-four value along one explicit axis: authors "name/rstd" = ReduceInverseRms(axis) and "name" = MultiplyBroadcast(axis) as one atomic edit.

For a feature-major convolution result use axis 0. Failure returns an invalid value with a diagnostic.

References CTX_EXPORT, and ctxValue().


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