import tensorflow as tf

  scales = tf.maximum(scales, lower_bound)
  print("Hyper Decoder")

  z_strings, z_min_v, z_max_v = entropy_bottleneck.compress(zs)
  z_shape = tf.shape(zs)[:]
  print("Entropy Encode (Hyper)")

  y_strings, y_min_v, y_max_v = conditional_entropy_model.compress(ys, locs, scales)
