(self, checkpoint_path)
Initializes Generator with a wrapped model and strategy name.

    Args:
      checkpoint_path: A string that gives the full path to the folder that
          holds the checkpoint.
Initializes Generator with a wrapped model and strategy name.
Initializes Generator with a wrapped model and strategy name .
def __init__(self, checkpoint_path):
    """Initializes Generator with a wrapped model and strategy name.

    Args:
      checkpoint_path: A string that gives the full path to the folder that
          holds the checkpoint.
    """
    self.sampler = lib_tfsampling.CoconetSampleGraph(checkpoint_path)
    self.hparams = self.sampler.hparams
    self.endecoder = lib_pianoroll.get_pianoroll_encoder_decoder(self.hparams)

    self._time_taken = None
    self._pianorolls = None
def __init__ ( self , checkpoint_path ) : self . sampler = lib_tfsampling . CoconetSampleGraph ( checkpoint_path ) self . hparams = self . sampler . hparams self . endecoder = lib_pianoroll . get_pianoroll_encoder_decoder ( self . hparams ) self . _time_taken = None self . _pianorolls = None