from tensorflow.python.framework import tensor_util


      normal = dists.Normal([mu], [sigma],
                            validate_args=True)
      self.assertTrue(tensor_util.constant_value(normal.is_scalar_event))
      self.assertFalse(tensor_util.constant_value(normal.is_scalar_batch))

      mvn = dists.MultivariateNormalDiag([mu], [sigma],
                                         validate_args=True)
