Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for the triangular solve , wired on the operands the shape contract aligned ((batch, N, N) and (batch, N, K)).
With :
where keeps the triangle the forward read — the upper one when
upper_, and without the diagonal when unitriangular_ (that
diagonal is assumed, not read, so it takes no gradient). is
triangular the other way round, so the adjoint is one more triangular
solve; every step is a recorded op, so the result differentiates again.