Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion tensorflow_addons/optimizers/lazy_adam_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def testSlotsUniqueEager(self):
opt = lazy_adam.LazyAdam(1.)
opt.minimize(lambda: v1 + v2, var_list=[v1, v2])
# There should be iteration, and two unique slot variables for v1 and v2.
self.assertEqual(5, len(set(opt.variables())))
self.assertEqual(5, len(opt.variables()))
self.assertEqual(
self.evaluate(opt.variables()[0]), self.evaluate(opt.iterations))

Expand Down
4 changes: 4 additions & 0 deletions tensorflow_addons/optimizers/moving_average_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
@test_utils.run_all_in_graph_and_eager_modes
class MovingAverageTest(tf.test.TestCase):
def test_run(self):
self.skipTest(
"Wait for https://github.com/tensorflow/tensorflow/issues/31582")
for sequential_update in [True, False]:
var0 = tf.Variable([1.0, 2.0])
var1 = tf.Variable([3.0, 4.0])
Expand Down Expand Up @@ -87,6 +89,8 @@ def test_opt_failure(self):
MovingAverage(base_opt, 0.5, sequential_update)

def test_model_weights_update(self):
self.skipTest(
"Wait for https://github.com/tensorflow/tensorflow/issues/31582")
grad = tf.Variable([[0.1]])
model = tf.keras.Sequential([
tf.keras.layers.Dense(
Expand Down