more batch dimensions consisting of symmetric or Hermitian
      matrices. (*, n, n) where *** is one or more batch dimensions.
Keyword Arguments:
      * hermitian (bool, optional) -- whether to consider
        the input to be Hermitian or symmetric. For real-valued
        matrices, this switch has no effect. Default: False.
  * **check_errors** (*bool**, **optional*) -- controls whether to
    check the content of "info" and raise an error if it is non-
    zero. Default: *False*.

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

Returns:
      A named tuple (LD, pivots, info).
Examples:
  >>> A = torch.randn(3, 3)
  >>> A = A @ A.mT # make symmetric
  >>> A
  tensor([[7.2079, 4.2414, 1.9428],
          [4.2414, 3.4554, 0.3264],
          [1.9428, 0.3264, 1.3823]])
  >>> LD, pivots, info = torch.linalg.ldl_factor_ex(A)
  >>> LD
