Skip to content

Commit 2b70060

Browse files
nkovela1copybara-github
authored andcommitted
Change notebook import in preparation for Keras swap.
PiperOrigin-RevId: 565755200
1 parent ed373e9 commit 2b70060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/migrate/canned_estimators.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@
108108
},
109109
"outputs": [],
110110
"source": [
111-
"import keras\n",
112111
"import pandas as pd\n",
113112
"import tensorflow as tf\n",
114113
"import tensorflow.compat.v1 as tf1\n",
115-
"import tensorflow_decision_forests as tfdf\n"
114+
"import tensorflow_decision_forests as tfdf\n",
115+
"from tensorflow import keras\n"
116116
]
117117
},
118118
{

0 commit comments

Comments
 (0)