class_docstr: HiFiC Model class.
class_docstr_tok: ["HiFiC","Model","class","."]
docstr: Prepare the savers needed to restore encoder, decoder, entropy_model.
docstr_tok: ["Prepare","the","savers","needed","to","restore","encoder",",","decoder",",","entropy_model","."]
code: def _prepare_auto_encoder_restore(self):
      """Prepare the savers needed to restore encoder, decoder, entropy_model."""
      assert self._auto_encoder_savers is None
      self._auto_encoder_savers = []
      for name, layer in [
          ("entropy_model", self._entropy_model),
          ("encoder", self._encoder),
          ("decoder", self._decoder),
      ]:
          self._auto_encoder_savers.append(
              tf.train.Saver(layer.variables, name=f"restore_{name}")
          )
  
imports: import collections
  import glob
  import itertools
  from compare_gan.gans import loss_lib
  import tensorflow.compat.v1
  import tensorflow_datasets
  from hific import archs
  from hific import helpers
  from hific.helpers import ModelMode
  from hific.helpers import ModelType
  from hific.helpers import TFDSArguments
label_desc: Use image node_id 15 for calling the HiFiC obj's underlying member method code with example usage: obj._prepare_auto_encoder_restore() without return types