Skip to content

Commit e24ccde

Browse files
authored
Patch #1380
1 parent f1b633e commit e24ccde

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pythainlp/transliterate/thai2rom.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,6 @@ def forward(
426426
else:
427427
decoder_input = topi.detach()
428428

429-
decoder_input = topi.detach()
430-
431429
if inference and decoder_input == end_token:
432430
return outputs[:di]
433431

0 commit comments

Comments
 (0)