Skip to content

Commit

Permalink
Remove unnecessary line (allenai#2385)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmmd authored Jan 18, 2019
1 parent 9719b5c commit d0a5a40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion allennlp/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def forward_on_instances(self,
elif len(output) != batch_size:
self._maybe_warn_for_unseparable_batches(name)
continue
outputs[name] = output
for instance_output, batch_element in zip(instance_separated_output, output):
instance_output[name] = batch_element
return instance_separated_output
Expand Down

0 comments on commit d0a5a40

Please sign in to comment.