-
-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the bahdanau score (#66)
* Add support for the bahdanau score * update TF versions on the tox file * protobuf constraint for <v2.8 * protobuf constraint for <v2.8 * add pylint * add pylint * Remove E0401 from pylint * Remove E0401 from pylint * 5.0.0
- Loading branch information
1 parent
482b0c9
commit 0600c95
Showing
6 changed files
with
100 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
[tox] | ||
envlist = {py3}-tensorflow-{2.5.0,2.6.2,2.7.0,v2.8.0-rc0} | ||
envlist = {py3}-tensorflow-{2.8,2.9,2.10,2.11} | ||
|
||
[testenv] | ||
setenv = | ||
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python | ||
deps = -rexamples/examples-requirements.txt | ||
tensorflow-2.5.0: tensorflow==2.5.0 | ||
tensorflow-2.6.2: tensorflow==2.6.2 | ||
tensorflow-2.7.0: tensorflow==2.7.0 | ||
tensorflow-v2.8.0-rc0: tensorflow==v2.8.0-rc0 | ||
flake8 | ||
pylint | ||
tensorflow-2.8: tensorflow==2.8 | ||
tensorflow-2.9: tensorflow==2.9 | ||
tensorflow-2.10: tensorflow==2.10 | ||
tensorflow-2.11: tensorflow==2.11 | ||
changedir = examples | ||
commands = python example-attention.py | ||
commands = pylint --disable=R,C,W,E1136,E0401 ../attention | ||
python example-attention.py | ||
passenv = * | ||
install_command = pip install {packages} |