Closed parahaoer closed 6 years ago
batch.decoderSeqs[i] = batch.decoderSeqs[i] + [padToken] (en_de_seq_len[1] - len(batch.decoderSeqs[i])) batch.targetSeqs[i] = batch.targetSeqs[i] + [padToken] (en_de_seq_len[1] - len(batch.targetSeqs[i]))
batch.decoderSeqs[i] = batch.decoderSeqs[i] + [padToken] (en_de_seq_len[1] - len(batch.decoderSeqs[i])) batch.targetSeqs[i] = batch.targetSeqs[i] + [padToken] (en_de_seq_len[1] - len(batch.targetSeqs[i]))