This commit is contained in:
Eren Golge 2018-03-23 05:18:51 -07:00
Родитель 2617518d91
Коммит df4a644326
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -253,7 +253,7 @@ class Decoder(nn.Module):
B = inputs.size(0)
# Run greedy decoding if memory is None
greedy = ~self.training
greedy = not self.training
if memory is not None:
# Grouping multiple frames if necessary