63dd31a11dc8437a53511ad33dbf3cc686aebe6e,magenta/models/melody_rnn/melody_rnn_generate.py,,run_with_flags,#Any#,137
Before Change
input_sequence = primer_sequence
generate_section = generator_options.generate_sections.add()
// Set the start time to begin on the next step after the last note ends.
notes_by_end_time = sorted(primer_sequence.notes, key=lambda n: n.end_time)
last_end_time = notes_by_end_time[-1].end_time if notes_by_end_time else 0
generate_section.start_time_seconds = last_end_time + _steps_to_seconds(
1, qpm)
generate_section.end_time_seconds = total_seconds
After Change
if primer_sequence:
input_sequence = primer_sequence
// Set the start time to begin on the next step after the last note ends.
last_end_time = (max(n.end_time for n in primer_sequence.notes)
if primer_sequence.notes else 0)
generate_section = generator_options.generate_sections.add(
start_time=last_end_time + _steps_to_seconds(1, qpm),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: tensorflow/magenta
Commit Name: 63dd31a11dc8437a53511ad33dbf3cc686aebe6e
Time: 2016-10-18
Author: adarob@google.com
File Name: magenta/models/melody_rnn/melody_rnn_generate.py
Class Name:
Method Name: run_with_flags
Project Name: tensorflow/magenta
Commit Name: 63dd31a11dc8437a53511ad33dbf3cc686aebe6e
Time: 2016-10-18
Author: adarob@google.com
File Name: magenta/models/melody_rnn/melody_rnn_sequence_generator.py
Class Name: MelodyRnnSequenceGenerator
Method Name: _generate
Project Name: pantsbuild/pants
Commit Name: 765fe64b6e96c365aaee4867c5a8381a883c5bc6
Time: 2020-08-16
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/fmt.py
Class Name:
Method Name: fmt
Project Name: tensorflow/magenta
Commit Name: 63dd31a11dc8437a53511ad33dbf3cc686aebe6e
Time: 2016-10-18
Author: adarob@google.com
File Name: magenta/models/melody_rnn/melody_rnn_generate.py
Class Name:
Method Name: run_with_flags