Skip to content

Commit 465c891

Browse files
Merge pull request #2020 from chunduriv:patch-4
PiperOrigin-RevId: 429476816
2 parents c18cc53 + 60bb5dd commit 465c891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/migrate/saved_model.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"source": [
304304
"### Save and export a SavedModel defined with tf.Module\n",
305305
"\n",
306-
"To export your model in TensorFlow 2, you must define a `tf.Module` or a `tf.keras.Model` to hold all of your model's variables and functions. Then, you can call `tf.saved_model.save` to create a SavedModel. Refer to [Saving a custom model](../../guide/saved_model#saving_a_custom_model) in the [Using the SavedModel format](../../guide/saved_model) guide to learn more."
306+
"To export your model in TensorFlow 2, you must define a `tf.Module` or a `tf.keras.Model` to hold all of your model's variables and functions. Then, you can call `tf.saved_model.save` to create a SavedModel. Refer to the _Saving a custom model_ section in the [Using the SavedModel format](../saved_model.ipynb) guide to learn more."
307307
]
308308
},
309309
{
@@ -655,7 +655,7 @@
655655
"\n",
656656
"Signatures are the endpoints of a SavedModel—they tell the user how to run the model and what inputs are needed.\n",
657657
"\n",
658-
"In TensorFlow 1, signatures are created by listing the input and output tensors. In TensorFlow 2, signatures are generated by passing in *concrete functions*. (Read more about TensorFlow functions in the [Introduction to graphs and tf.function](../guide/intro_to_graphs) guide.) In short, [a concrete function is generated](../guide/intro_to_graphs#polymorphism_one_function_many_graphs) from a `tf.function`:\n",
658+
"In TensorFlow 1, signatures are created by listing the input and output tensors. In TensorFlow 2, signatures are generated by passing in *concrete functions*. (Read more about TensorFlow functions in the [Introduction to graphs and tf.function](../intro_to_graphs.ipynb) guide, particularly the _Polymorphism: one Function, many graphs_ section.) In short, a concrete function is generated from a `tf.function`:\n",
659659
"\n",
660660
"```python\n",
661661
"# Option 1: Specify an input signature.\n",

0 commit comments

Comments
 (0)