dimensions.
  * **B** (*Tensor*) -- right-hand side tensor of shape *(*, n,
    k)*.

Keyword Arguments:
      * upper (bool) -- whether "A" is an upper or lower
        triangular matrix.
  * **left** (*bool**, **optional*) -- whether to solve the system
    AX=B or XA = B. Default: *True*.

  * **unitriangular** (*bool**, **optional*) -- if *True*, the
    diagonal elements of "A" are assumed to be all equal to *1*.
    Default: *False*.

  * **out** (*Tensor**, **optional*) -- output tensor. *B* may be
    passed as *out* and the result is computed in-place on *B*.
    Ignored if *None*. Default: *None*.

Examples:
  >>> A = torch.randn(3, 3).triu_()
  >>> b = torch.randn(3, 4)
  >>> X = torch.linalg.solve_triangular(A, B, upper=True)
  >>> torch.allclose(A @ X, B)
  True

  >>> A = torch.randn(2, 3, 3).tril_()
  >>> B = torch.randn(2, 3, 4)
  >>> X = torch.linalg.solve_triangular(A, B, upper=False)
