Skip to content

Commit cfdeb42

Browse files
committed
fixing tests
1 parent 36e9e1b commit cfdeb42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

neuralmonkey/decoders/autoregressive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The autoregressive decoder uses the while loop to get the outputs.
77
Descendants should only specify the initial state and the while loop body.
88
"""
9-
from typing import NamedTuple, Callable, Optional, Any, Dict
9+
from typing import NamedTuple, Callable, Optional, Any, Dict, Tuple
1010

1111
import tensorflow as tf
1212

neuralmonkey/decoders/transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""
55
# TODO make this code simpler
66
# pylint: disable=too-many-lines
7-
from typing import Any, Callable, NamedTuple, List, Union, Tuple
7+
from typing import Any, NamedTuple, List, Union, Tuple
88
import math
99

1010
import tensorflow as tf

0 commit comments

Comments
 (0)