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

Commit d0a5a40

Browse files
authored
Remove unnecessary line (#2385)
Fixes #2306
1 parent 9719b5c commit d0a5a40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

allennlp/models/model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ def forward_on_instances(self,
171171
elif len(output) != batch_size:
172172
self._maybe_warn_for_unseparable_batches(name)
173173
continue
174-
outputs[name] = output
175174
for instance_output, batch_element in zip(instance_separated_output, output):
176175
instance_output[name] = batch_element
177176
return instance_separated_output

0 commit comments

Comments
 (0)