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

Skip to content

Commit b35f7a9

Browse files
authored
Fix list format and typos.
1 parent 28863de commit b35f7a9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

samples/core/tutorials/keras/save_and_restore_models.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,9 @@
582582
"cell_type": "markdown",
583583
"source": [
584584
"The above code stores the weights to a collection of [checkpoint](https://www.tensorflow.org/guide/saved_model#save_and_restore_variables)-formatted files that contain only the trained weights in a binary format. Checkpoints contain:\n",
585+
"\n",
585586
"* One or more shards that contain your model's weights. \n",
586-
"* An index file that indicates which weights are stored in a which shard. \n",
587+
"* An index file that indicates which weights are stored in which shard. \n",
587588
"\n",
588589
"If you are only training a model on a single machine, you'll have one shard with the suffix: `.data-00000-of-00001`"
589590
]
@@ -739,7 +740,7 @@
739740
"* The model's configuration(architecture)\n",
740741
"* The optimizer configuration\n",
741742
"\n",
742-
"Keras saves models by inspecting the architecture. Currently, it is not able to save TensorFlow optimizers (from `tf.train`). When using those you will need to re-compile the model after loading, and you will loose the state of the optimizer.\n"
743+
"Keras saves models by inspecting the architecture. Currently, it is not able to save TensorFlow optimizers (from `tf.train`). When using those you will need to re-compile the model after loading, and you will lose the state of the optimizer.\n"
743744
]
744745
},
745746
{
@@ -761,4 +762,4 @@
761762
]
762763
}
763764
]
764-
}
765+
}

0 commit comments

Comments
 (0)