Solves a system of equations with a triangular coefficient matrix \(A\)
and multiple right-hand sides \(b\).
In particular, solves \(AX = b\) and assumes \(A\) is upper-triangular
with the default keyword arguments.
torch_triangular_solve(b, A)
can take in 2D inputs b, A
or inputs that are
batches of 2D matrices. If the inputs are batches, then returns
batched outputs X