write the output to. Ignored if None. Default: None.
Returns:
      A named tuple (result, info).
Examples:
  >>> A = torch.randn(3, 3)
  >>> Ainv, info = torch.linalg.solve_ex(A)
  >>> torch.dist(torch.linalg.inv(A), Ainv)
  tensor(0.)
  >>> info
  tensor(0, dtype=torch.int32)
