code: def test_compression_consistent_with_quantization(self):
      noisy = uniform_noise.NoisyNormal(loc=0.25, scale=10.0)
      em = ContinuousBatchedEntropyModel(noisy, 1, compression=True)
      x = noisy.base.sample([100])
      x_quantized = em.quantize(x)
      x_decompressed = em.decompress(em.compress(x), [100])
      self.assertAllEqual(x_decompressed, x_quantized)
  
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 8 for calling the ContinuousBatchedEntropyModelTest obj's underlying member method code with example usage: obj.test_compression_consistent_with_quantization() without return types