code: def test_indexes_are_clipped_correctly(self):
      em = self.get_model(compression=True, coding_rank=2)
      x, indexes = self.get_samples((7, 23))
      x_float_idx = em.decompress(em.compress(x, indexes), indexes)
      indexes = tf.cast(tf.round(indexes), tf.int32)
      x_int_idx = em.decompress(em.compress(x, indexes), indexes)
      self.assertAllEqual(x_float_idx, x_int_idx)
      self.assertAllClose(x, x_float_idx, rtol=0, atol=0.5)
  
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 import continuous_indexed
label_desc: Use image node_id 5 for calling the ContinuousIndexedEntropyModelTest obj's underlying member method code with example usage: obj.test_indexes_are_clipped_correctly() without return types