sparsax.pytensor.solve

sparsax.pytensor.solve(Ai, Aj, Ax, b, mode=0)[source]

Solve A x = b for SPD sparse A (PyTensor). See sparsax.solve().

Ai, Aj are the COO pattern (int, non-differentiable); Ax the values and b the right-hand side(s) carry gradients when mode == MODE_A.