Skip to content

Commit c1510dc

Browse files
Update migrate/tensorboard.ipynb with Time Series as default dashboard.
With the TensorBoard 2.10 release the "Time Series" dashboard will be the default dashboard for logs with scalars, histograms, or images events. We are updating external-facing documentation to reflect this change. Mirroring work in the TensorBoard repository (tensorflow/tensorboard#5861) this change updates notebook documentation to use the "Time Series" dashboard where previously it used the "Scalars" dashboard. Notably: * Updated images to use "Time Series" and set them to 1600x800 pixels to be consistent with other changes. * Some of the models being created now give explicit names to the layers. This is so that the tags displayed in the Time Series dashboard maintain a logical ordering of scalars ahead of histograms and images. PiperOrigin-RevId: 508444818
1 parent 5b96ef6 commit c1510dc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
-24.4 KB
Loading
-26.2 KB
Loading

site/en/guide/migrate/tensorboard.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@
218218
"\n",
219219
"def create_model():\n",
220220
" return tf.keras.models.Sequential([\n",
221-
" tf.keras.layers.Flatten(input_shape=(28, 28)),\n",
222-
" tf.keras.layers.Dense(512, activation='relu'),\n",
223-
" tf.keras.layers.Dropout(0.2),\n",
224-
" tf.keras.layers.Dense(10, activation='softmax')\n",
221+
" tf.keras.layers.Flatten(input_shape=(28, 28), name='layers_flatten'),\n",
222+
" tf.keras.layers.Dense(512, activation='relu', name='layers_dense'),\n",
223+
" tf.keras.layers.Dropout(0.2, name='layers_dropout'),\n",
224+
" tf.keras.layers.Dense(10, activation='softmax', name='layers_dense_2')\n",
225225
" ])\n",
226226
"\n",
227227
"model = create_model()\n",

0 commit comments

Comments
 (0)