torch.triangular_solve
torch.triangular_solve(b, A, upper=True, transpose=False, unitriangular=False, *, out=None)
Solves a system of equations with a square upper or lower
   triangular invertible matrix A and multiple right-hand sides b.
In symbols, it solves AX = b and assumes A is square upper-
   triangular (or lower-triangular if "upper"= False) and does not
   have zeros on the diagonal.
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
If the diagonal of "A" contains zeros or elements that are very
   close to zero and "unitriangular"= False (default) or if the
   input matrix is badly conditioned, the result may contain NaN s.
Supports input of float, double, cfloat and cdouble data types.
Warning:
 "torch.triangular_solve()" is deprecated in favor of
 "torch.linalg.solve_triangular()" and will be removed in a future
