[cleanup] remove confusing newline (#6603)

This commit is contained in:
Oren Amsalem 2020-08-20 07:33:36 +03:00 committed by GitHub
parent 18ca0e9140
commit 93c5c9a528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,7 +392,6 @@ class GenerationMixin:
# get encoder and store encoder outputs
encoder = self.get_encoder()
encoder_outputs: tuple = encoder(input_ids, attention_mask=attention_mask)
# Expand input ids if num_beams > 1 or num_return_sequences > 1