Ajudar pessoas estudante de música a estudar teoria musical
-
Ajudar no entendimento de escalas musicais
-
Formação de acordes
def generate_batch(generator, batch_size=10): | |
batch = [] | |
for e in generator: | |
if len(batch) == batch_size: | |
yield batch | |
batch = [] | |
batch.append(e) | |
if batch: | |
yield batch |