(self, input_sequence, generator_options)
return self._generate(input_sequence, generator_options)
Generates a sequence from the model based on sequence and options.

    Also initializes the TF graph if not yet initialized.

    Args:
      input_sequence: An input NoteSequence to base the generation on.
      generator_options: A GeneratorOptions proto with options to use for
          generation.

    Returns:
      The generated NoteSequence proto.
Generates a sequence from the model based on sequence and options.
Generates a sequence from the model based on sequence and options .
def generate(self, input_sequence, generator_options):
    """Generates a sequence from the model based on sequence and options.

    Also initializes the TF graph if not yet initialized.

    Args:
      input_sequence: An input NoteSequence to base the generation on.
      generator_options: A GeneratorOptions proto with options to use for
          generation.

    Returns:
      The generated NoteSequence proto.
    """
    self.initialize()
    return self._generate(input_sequence, generator_options)
def generate ( self , input_sequence , generator_options ) : self . initialize ( ) return self . _generate ( input_sequence , generator_options )