code: def decode_example(self, example):
      
      img = tf.image.decode_image(
          example, channels=self._shape[-1], dtype=tf.uint8)
      img.set_shape(self._shape)
      return img
docs: Reconstruct the image from the tf example.