Update deepdream.ipynb (#4080)
It would be better if "from __future__ import print_function" occurred at the beginning of the code.
This commit is contained in:
parent
d75eab5a38
commit
1f681d207f
@ -87,13 +87,13 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# boilerplate code\n",
|
"# boilerplate code\n",
|
||||||
|
"from __future__ import print_function\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
"from io import BytesIO\n",
|
"from io import BytesIO\n",
|
||||||
"import numpy as np\n",
|
"import numpy as np\n",
|
||||||
"from functools import partial\n",
|
"from functools import partial\n",
|
||||||
"import PIL.Image\n",
|
"import PIL.Image\n",
|
||||||
"from IPython.display import clear_output, Image, display, HTML\n",
|
"from IPython.display import clear_output, Image, display, HTML\n",
|
||||||
"from __future__ import print_function\n",
|
|
||||||
"\n",
|
"\n",
|
||||||
"import tensorflow as tf"
|
"import tensorflow as tf"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user