Skip to content

Commit

Permalink
Rollback more APIs for tf2-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpmorgan committed Apr 30, 2019
1 parent a81063b commit ac69a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflow_addons/rnn/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def get_config(self):
return dict(list(base_config.items()) + list(config.items()))

def _create_norm_layer(self, name):
return keras.layers.LayerNormalization(
return keras.layers.experimental.LayerNormalization(
beta_initializer=self.norm_beta_initializer,
gamma_initializer=self.norm_gamma_initializer,
epsilon=self.norm_epsilon,
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_addons/rnn/cell_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_config(self):
"bias_constraint": None,
"dropout": 0.,
"recurrent_dropout": 0.,
"implementation": 2,
"implementation": 1,
"norm_gamma_initializer": {
"class_name": "Ones",
"config": {}
Expand Down

0 comments on commit ac69a4f

Please sign in to comment.