code: def test_requires_scalar_distributions(self):
      noisy = uniform_noise.UniformNoiseAdapter(
          tfp.distributions.MultivariateNormalDiag(
              loc=[-3, 0.2], scale_diag=[1, 2]
          )
      )
      with self.assertRaises(ValueError):
          ContinuousBatchedEntropyModel(noisy, 1)
  
imports: from absl.testing import parameterized
  import tensorflow
  import tensorflow_probability
  from tensorflow_compression.python.distributions import uniform_noise
  from tensorflow_compression.python.entropy_models.continuous_batched import ContinuousBatchedEntropyModel
label_desc: Use image node_id 3 for calling the ContinuousBatchedEntropyModelTest obj's underlying member method code with example usage: obj.test_requires_scalar_distributions() without return types