docstr: Tests the sample shapes.
docstr_tok: ["Tests","the","sample","shapes","."]
code: def test_shapes(self):
      """Tests the sample shapes."""
      sample_no_batch = self.evaluate(
          tff_rnd.mv_normal_sample([2, 4], mean=[0.2, 0.1])
      )
      self.assertEqual(sample_no_batch.shape, (2, 4, 2))
      sample_batch = self.evaluate(
          tff_rnd.mv_normal_sample(
              [2, 4], mean=[[0.2, 0.1], [0.0, -0.1], [0.0, 0.1]]
          )
      )
      self.assertEqual(sample_batch.shape, (2, 4, 3, 2))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the RandomTest obj's underlying member method code with example usage: obj.test_shapes() without return types