Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4cd5f5

Browse files
authored
Merge pull request tensorflow#5153 from staff0rd/patch-3
Basic_Regression notebook: Python2 compatibility
2 parents 7edabac + a824b6f commit b4cd5f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/core/tutorials/keras/basic_regression.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@
136136
},
137137
"cell_type": "code",
138138
"source": [
139+
"from __future__ import absolute_import, division, print_function\n",
140+
"\n",
139141
"import tensorflow as tf\n",
140142
"from tensorflow import keras\n",
141143
"\n",

0 commit comments

Comments
 (0)