class_docstr: Main model class.
docstr: Decompresses an image.
docstr_tok: ["Decompresses","an","image","."]
code: def decompress(self, string, side_string, x_shape, y_shape, z_shape):
      """Decompresses an image."""
      z_hat = self.side_entropy_model.decompress(side_string, z_shape)
      indexes = self.hyper_synthesis_transform(z_hat)
      indexes = indexes[:, : y_shape[0], : y_shape[1], :]
      y_hat = self.entropy_model.decompress(string, indexes)
      x_hat = self.synthesis_transform(y_hat)
      # Remove batch dimension, and crop away any extraneous padding.
      x_hat = x_hat[0, : x_shape[0], : x_shape[1], :]
      # Then cast back to 8-bit integer.
      return tf.saturate_cast(tf.round(x_hat), tf.uint8)
  
imports: import argparse
  import glob
  import sys
  from absl import app
  from absl.flags import argparse_flags
  import tensorflow
  import tensorflow_compression
  import tensorflow_datasets
label_desc: Use image node_id 9 for calling the BMSHJ2018Model obj's underlying member method code with example usage: obj.decompress(string, side_string, x_shape, y_shape, z_shape) and returns: tf