Skip to content

Commit

Permalink
Updated direct link for Custom Objects (keras-team#884)
Browse files Browse the repository at this point in the history
* Updated direct link for Custom Objects

Updated direct link to access Custom objects definition by changing #custom-objects to #custom_objects.

* Updated direct link for Custom Objects

Updated direct link to access Custom objects definition by changing #custom-objects to #custom_objects in .ipynb file

* Updated direct link for Custom Objects

Updated direct link to access Custom objects definition by changing #custom-objects to #custom_objects in .md file.
  • Loading branch information
RenuPatelGoogle authored Jun 28, 2022
1 parent 89a12f8 commit 8cac0a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions guides/ipynb/serialization_and_saving.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"Nevertheless, it is always a good practice to define the `get_config`\n",
"and `from_config` methods when writing a custom model or layer class.\n",
"This allows you to easily update the computation later if needed.\n",
"See the section about [Custom objects](#custom-objects)\n",
"See the section about [Custom objects](#custom_objects)\n",
"for more information.\n",
"\n",
"Example:"
Expand Down Expand Up @@ -399,7 +399,7 @@
"- The *computation graph of custom objects* such as custom layers\n",
"is not included in the saved file. At loading time, Keras will need access\n",
"to the Python classes/functions of these objects in order to reconstruct the model.\n",
"See [Custom objects](#custom-objects).\n",
"See [Custom objects](#custom_objects).\n",
"- Does not support preprocessing layers."
]
},
Expand Down Expand Up @@ -1341,4 +1341,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
6 changes: 3 additions & 3 deletions guides/md/serialization_and_saving.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ and used for inference.
Nevertheless, it is always a good practice to define the `get_config`
and `from_config` methods when writing a custom model or layer class.
This allows you to easily update the computation later if needed.
See the section about [Custom objects](#custom-objects)
See the section about [Custom objects](#custom_objects)
for more information.

Example:
Expand Down Expand Up @@ -326,7 +326,7 @@ these losses & metrics are kept, since they are part of the `call` method of the
- The *computation graph of custom objects* such as custom layers
is not included in the saved file. At loading time, Keras will need access
to the Python classes/functions of these objects in order to reconstruct the model.
See [Custom objects](#custom-objects).
See [Custom objects](#custom_objects).
- Does not support preprocessing layers.

---
Expand Down Expand Up @@ -1079,4 +1079,4 @@ Non-trainable params: 0
_________________________________________________________________
```
</div>
</div>
4 changes: 2 additions & 2 deletions guides/serialization_and_saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class name, **call function**, losses, and weights (and the config, if implement
Nevertheless, it is always a good practice to define the `get_config`
and `from_config` methods when writing a custom model or layer class.
This allows you to easily update the computation later if needed.
See the section about [Custom objects](#custom-objects)
See the section about [Custom objects](#custom_objects)
for more information.
Example:
Expand Down Expand Up @@ -295,7 +295,7 @@ def from_config(cls, config):
- The *computation graph of custom objects* such as custom layers
is not included in the saved file. At loading time, Keras will need access
to the Python classes/functions of these objects in order to reconstruct the model.
See [Custom objects](#custom-objects).
See [Custom objects](#custom_objects).
- Does not support preprocessing layers.
"""
Expand Down

0 comments on commit 8cac0a5

Please sign in to comment.