Skip to content

Commit bede3d9

Browse files
Remove legacy Adam optimizer.
PiperOrigin-RevId: 475238426
1 parent e1ea538 commit bede3d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/en/tutorials/generative/style_transfer.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@
705705
},
706706
"outputs": [],
707707
"source": [
708-
"opt = tf.keras.optimizers.legacy.Adam(learning_rate=0.02, beta_1=0.99, epsilon=1e-1)"
708+
"opt = tf.keras.optimizers.Adam(learning_rate=0.02, beta_1=0.99, epsilon=1e-1)"
709709
]
710710
},
711711
{
@@ -1125,6 +1125,7 @@
11251125
"colab": {
11261126
"collapsed_sections": [],
11271127
"name": "style_transfer.ipynb",
1128+
"provenance": [],
11281129
"toc_visible": true
11291130
},
11301131
"kernelspec": {

0 commit comments

Comments
 (0)