Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Remove unnecessary line #2385

Merged
merged 2 commits into from Jan 18, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion allennlp/models/model.py
Expand Up @@ -169,7 +169,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