code: def _randomTril(self, n, batch_shape, seed=42):
      np.random.seed(seed)
      unit_tril = np.random.standard_normal(batch_shape + [n, n])
      unit_tril = np.tril(unit_tril)
      unit_tril[..., range(n), range(n)] = 1.0
      return 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 2 for calling the NoPivotLDLTest obj's underlying member method code with example usage: obj._randomTril(n, batch_shape, seed) and returns: unit_tril