oa::GradNode
GradNode class in the OA Core public surface.
Public Methods
Public Data Members
forwardSemanticGeneration_oa::U64fieldforwardSemanticOp_oa::U32fieldforwardSemanticOutput_oa::U32fieldoutputShape_MatrixShapefieldsequenceNr_oa::U64fieldConstructor & Destructor Documentation
Public Method Documentation
Records this operation's backward kernels into the active graph. The tape owns traversal and execution cadence; nodes only describe their adjoints.
Parameters
inUpstreamconst Matrix &—
outInputGradsoa::Vector<Matrix> &—
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const Matrix>The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Vector<Matrix> &The declared return value.
No public source comment is attached to this declaration.
Parameters
inMatricesMatrices &&...—
Returns
voidThe declared return value.
Retains matrices required by backward and snapshots their storage mutation versions. Backward fails before recording any kernels if a retained matrix was modified in place.
Parameters
inMatricesoa::Vector<Matrix>—
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Parameters
inInputsoa::Vector<Matrix>—
Returns
voidThe declared return value.