(self, chkpt_path, placeholders=None)
Initializes inputs for the Coconet sampling graph.

    Does not build or restore the graph. That happens lazily if you call run(),
    or explicitly using instantiate_sess_and_restore_checkpoint.

    Args:
      chkpt_path: Checkpoint directory for loading the model.
          Uses the latest checkpoint.
      placeholders: Optional placeholders.
Initializes inputs for the Coconet sampling graph.
Initializes inputs for the Coconet sampling graph .
def __init__(self, chkpt_path, placeholders=None):
    """Initializes inputs for the Coconet sampling graph.

    Does not build or restore the graph. That happens lazily if you call run(),
    or explicitly using instantiate_sess_and_restore_checkpoint.

    Args:
      chkpt_path: Checkpoint directory for loading the model.
          Uses the latest checkpoint.
      placeholders: Optional placeholders.
    """
    self.chkpt_path = chkpt_path
    self.hparams = lib_hparams.load_hparams(chkpt_path)
    if placeholders is None:
      self.placeholders = self.get_placeholders()
    else:
      self.placeholders = placeholders
    self.samples = None
    self.sess = None
def __init__ ( self , chkpt_path , placeholders = None ) : self . chkpt_path = chkpt_path self . hparams = lib_hparams . load_hparams ( chkpt_path ) if placeholders is None : self . placeholders = self . get_placeholders ( ) else : self . placeholders = placeholders self . samples = None self . sess = None