code: def testDocstrSliceExample(self):
      seed_stream = test_util.test_seed_stream("mvn_tril_docstr")
      x = tf.random.normal([5, 3, 2, 2], seed=seed_stream())
      cov = tf.matmul(x, x, transpose_b=True)
      chol = tf.linalg.cholesky(cov)
      loc = tf.random.normal([4, 1, 3, 1], seed=seed_stream())
      mvn = mvn_tril.MultivariateNormalTriL(
          loc, chol, validate_args=True
      )
      self.assertAllEqual((4, 5, 3), mvn.batch_shape)
      self.assertAllEqual((2,), mvn.event_shape)
      mvn2 = mvn[:, 3:, ..., ::-1, tf.newaxis]
      self.assertAllEqual((4, 2, 3, 1), mvn2.batch_shape)
      self.assertAllEqual((2,), mvn2.event_shape)
  
imports: import os
  from absl.testing import parameterized
  import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.bijectors import transform_diagonal
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import lognormal
  from tensorflow_probability.python.distributions import mvn_tril
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 7 for calling the MultivariateNormalTriLSlicingTest obj's underlying member method code with example usage: obj.testDocstrSliceExample() without return types