Skip to content

Commit b2c3e90

Browse files
committed
fixed omission of end_indices in decode_batch return (plus deleted comment)
1 parent 20b86d3 commit b2c3e90

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

model_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def decode_batch(self, bodies, special_append=None, max_output_length=100, sampl
132132
elif return_scores:
133133
return outputs, scores.tolist()
134134
else:
135-
# return outputs
136135
return outputs, end_indices
137136

138137
def decode_beam_batch(self, bodies, beam_size=3, max_output_length=100, sample=False):

0 commit comments

Comments
 (0)