code: def _randomSymmetricMatrix(
      self, n, batch_shape, low, high, forcemin=None, seed=42
  ):
      diag = self._randomDiag(n, batch_shape, low, high, forcemin, seed)
      unit_tril = self._randomTril(n, batch_shape, seed)
      return np.einsum(
          "...ij,...j,...kj->...ik", unit_tril, diag, unit_tril
      )
  
file_path: probability/tensorflow_probability/python/experimental/linalg/no_pivot_ldl_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.linalg.no_pivot_ldl import no_pivot_ldl
  from tensorflow_probability.python.experimental.linalg.no_pivot_ldl import simple_robustified_cholesky
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the NoPivotLDLTest obj's underlying member method code with example usage: obj._randomSymmetricMatrix(n, batch_shape, low, high, forcemin, seed) and returns: np