Skip to content

Commit 468cc80

Browse files
Update example code to better fit pep8 code style (tensorflow#3303)
Adding spaces around a variable assignment to be a better example to people following the tutorial.
1 parent d5d5007 commit 468cc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/get_started.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
" loss='sparse_categorical_crossentropy',\n",
230230
" metrics=['accuracy'])\n",
231231
"\n",
232-
"log_dir=\"logs/fit/\" + datetime.datetime.now().strftime(\"%Y%m%d-%H%M%S\")\n",
232+
"log_dir = \"logs/fit/\" + datetime.datetime.now().strftime(\"%Y%m%d-%H%M%S\")\n",
233233
"tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)\n",
234234
"\n",
235235
"model.fit(x=x_train, \n",

0 commit comments

Comments
 (0)