TorchLean API

NN.Proofs.RuntimeApprox.NF.BackwardOps.Linalg

Linear Algebra NF Reverse Nodes #

Reverse-mode approximation nodes for matrix-vector and matrix-matrix multiplication.

Reverse node for matrix-vector multiplication (mat_vec_mul_spec).

VJP uses the standard adjoint identities: δW = δ ⊗ x and δx = Wᵀ δ (expressed in tensor form), with NF error bounds layered over the primitive ops.

Instances For

    Reverse node for matrix multiplication (mat_mul_spec).

    VJP uses the standard identities δA = δC * Bᵀ and δB = Aᵀ * δC (in appropriate shapes), with NF error bounds layered over the primitive ops.

    Instances For