Skip to content

Commit 3b19bc0

Browse files
SSaishruthiseanpmorgan
authored andcommitted
removing int check (#758)
1 parent 23b6894 commit 3b19bc0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tensorflow_addons/optimizers/moving_average.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ def __init__(self,
7878
raise TypeError(
7979
"optimizer is not an object of tf.keras.optimizers.Optimizer")
8080

81-
if num_updates is not None and not isinstance(num_updates, int):
82-
raise TypeError("num_updates must be None or of integer type")
83-
8481
if not isinstance(sequential_update, bool):
8582
raise TypeError("sequential_update must be of bool type")
8683

0 commit comments

Comments
 (0)