batch dimensions.
  * **pivots** (*Tensor*) -- the pivots corresponding to the LDL
    factorization of "LD".

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

Keyword Arguments:
      * hermitian (bool, optional) -- whether to consider
        the decomposed matrix to be Hermitian or symmetric. For real-
        valued matrices, this switch has no effect. Default: False.
  * **out** (*tuple**, **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(2, 3, 3)
  >>> A = A @ A.mT # make symmetric
  >>> LD, pivots, info = torch.linalg.ldl_factor_ex(A)
  >>> B = torch.randn(2, 3, 4)
  >>> X = torch.linalg.ldl_solve(LD, pivots, B)
  >>> torch.linalg.norm(A @ X - B)
  >>> tensor(0.0001)
