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:
zhongzyd 2016-09-01 10:43:15 +08:00 committed by Vijay Vasudevan
parent d75eab5a38
commit 1f681d207f

View File

@ -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"
] ]