Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Fairseq
Commits
55dc4842
Commit
55dc4842
authored
Jun 12, 2018
by
Myle Ott
Browse files
Fix tests
parent
e89329d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
fairseq/modules/linearized_convolution.py
fairseq/modules/linearized_convolution.py
+1
-0
fairseq/sequence_generator.py
fairseq/sequence_generator.py
+1
-0
fairseq/sequence_scorer.py
fairseq/sequence_scorer.py
+2
-0
No files found.
fairseq/modules/linearized_convolution.py
View file @
55dc4842
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
# the root directory of this source tree. An additional grant of patent rights
# the root directory of this source tree. An additional grant of patent rights
# can be found in the PATENTS file in the same directory.
# can be found in the PATENTS file in the same directory.
import
torch
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
from
fairseq
import
utils
from
fairseq
import
utils
...
...
fairseq/sequence_generator.py
View file @
55dc4842
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# can be found in the PATENTS file in the same directory.
# can be found in the PATENTS file in the same directory.
import
math
import
math
import
torch
import
torch
from
fairseq
import
utils
from
fairseq
import
utils
...
...
fairseq/sequence_scorer.py
View file @
55dc4842
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
# the root directory of this source tree. An additional grant of patent rights
# the root directory of this source tree. An additional grant of patent rights
# can be found in the PATENTS file in the same directory.
# can be found in the PATENTS file in the same directory.
import
torch
from
fairseq
import
utils
from
fairseq
import
utils
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment