device with the CPU.
See also:
 "torch.linalg.solve_triangular()" computes the solution of a
 triangular system of linear equations with a unique solution.

Parameters:
      * A (Tensor) -- tensor of shape (, n, n)* where *** is
        zero or more batch dimensions.
  * **B** (*Tensor*) -- right-hand side tensor of shape *(*, n)*
    or  *(*, n, k)* or *(n,)* or *(n, k)* according to the rules
    described above

Keyword Arguments:
      * left (bool, optional) -- whether to solve the system
        AX=B or XA = B. Default: True.
  * **out** (*Tensor**, **optional*) -- output tensor. Ignored if
    *None*. Default: *None*.

Raises:
      RuntimeError -- if the "A" matrix is not invertible or any
      matrix in a batched "A"     is not invertible.
Examples:
  >>> A = torch.randn(3, 3)
  >>> b = torch.randn(3)
  >>> x = torch.linalg.solve(A, b)
  >>> torch.allclose(A @ x, b)
  True
