True.
  * **out** (*tuple**, **optional*) -- tuple of two tensors to
    write the output to. Ignored if *None*. Default: *None*.

Returns:
      A named tuple (LU, pivots).
Raises:
      RuntimeError -- if the "A" matrix is not invertible or any
      matrix in a batched "A"     is not invertible.
Examples:
  >>> A = torch.randn(2, 3, 3)
  >>> B1 = torch.randn(2, 3, 4)
  >>> B2 = torch.randn(2, 3, 7)
  >>> A_factor = torch.linalg.lu_factor(A)
  >>> X1 = torch.linalg.lu_solve(A_factor, B1)
  >>> X2 = torch.linalg.lu_solve(A_factor, B2)
  >>> torch.allclose(A @ X1, B1)
  True
  >>> torch.allclose(A @ X2, B2)
  True
