Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8226633
LayernormSimpleRNN moved to addons
ulf1 Jan 8, 2020
1fa64cf
code-format run
ulf1 Jan 8, 2020
5a49582
use super instead of calling the parent class
ulf1 Jan 9, 2020
1d32041
deactivate layernorm's bias term (beta) for centering, and apply the …
ulf1 Jan 9, 2020
3f24525
use_layernorm=True set as default
ulf1 Jan 9, 2020
764419d
import alligned with cell.py, examples in docstring corrected
ulf1 Jan 9, 2020
8da0cc0
import aligned with cell_test.py
ulf1 Jan 9, 2020
6fff49f
code for LayernormSimpleRNN moved into cell.py and cell_test.py
ulf1 Jan 9, 2020
a1b86b5
pylint errors corrected
ulf1 Jan 9, 2020
8179a2e
bazel's timeout increased from small to large for cell_test.py
ulf1 Jan 10, 2020
140d955
test with training deactivated
ulf1 Jan 12, 2020
c2d9971
non-ascii char replaced
ulf1 Jan 12, 2020
9369772
dict syntax for python2 changed
ulf1 Jan 13, 2020
348567c
Renamed to LayerNorm...
ulf1 Jan 13, 2020
179221b
direct parent class call replaced with super
ulf1 Jan 13, 2020
5cdedc2
error due to import change corrected
ulf1 Jan 13, 2020
a5f71bb
uncomment line
ulf1 Jan 13, 2020
7a3c5f1
unit test added
ulf1 Jan 13, 2020
022eef4
Name change in unit test file
ulf1 Jan 13, 2020
1cce210
Still the class name change
ulf1 Jan 13, 2020
0ae1d43
deleted dtype and trainable args for parent class
ulf1 Jan 13, 2020
55e1847
remove self for super parent class calls
ulf1 Jan 13, 2020
0809732
compare arrays with assertAllEqual
ulf1 Jan 13, 2020
088d9c6
use_layernorm removed
ulf1 Jan 15, 2020
944ae38
dict removed from return statement
ulf1 Jan 15, 2020
61be862
LayerNormSimpleRNN removed, use kwargs, comments removed
ulf1 Jan 22, 2020
bb1655f
forward **kwargs to other layers
ulf1 Jan 22, 2020
dc22b6e
a more pythonic dict loop
ulf1 Jan 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tensorflow_addons/rnn/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ py_library(
srcs = [
"__init__.py",
"cell.py",
"layernorm_simplernn.py",
],
deps = [
"//tensorflow_addons/utils",
Expand All @@ -21,3 +22,12 @@ py_test(
":rnn",
],
)

py_test(
name = "layernorm_simplernn_test",
size = "small",
srcs = ["layernorm_simplernn_test.py"],
deps = [
":rnn",
],
)
2 changes: 2 additions & 0 deletions tensorflow_addons/rnn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@

from tensorflow_addons.rnn.cell import LayerNormLSTMCell
from tensorflow_addons.rnn.cell import NASCell
from tensorflow_addons.rnn.layernorm_simplernn import (LayernormSimpleRNN,
LayernormSimpleRNNCell)
Loading