Ignored if None. Default: None.
Returns:
      A named tuple (sign, logabsdet).
  *sign* will have the same dtype as "A".

  *logabsdet* will always be real-valued, even when "A" is
  complex.

Examples:
  >>> A = torch.randn(3, 3)
  >>> A
  tensor([[ 0.0032, -0.2239, -1.1219],
          [-0.6690,  0.1161,  0.4053],
          [-1.6218, -0.9273, -0.0082]])
  >>> torch.linalg.det(A)
  tensor(-0.7576)
  >>> torch.logdet(A)
  tensor(nan)
  >>> torch.linalg.slogdet(A)
  torch.return_types.linalg_slogdet(sign=tensor(-1.), logabsdet=tensor(-0.2776))
