Internal Cleanup for docstring.
PiperOrigin-RevId: 331778134 Change-Id: Ib79e0562b3fc03456b6bb690766c779981e023fe
This commit is contained in:
parent
298080cf08
commit
79b52dbdc9
@ -44,7 +44,8 @@ class MethodNameUpdater(object):
|
||||
Typical usages of the `MethodNameUpdater`
|
||||
```python
|
||||
...
|
||||
updater = tf.compat.v1.saved_model.MethodNameUpdater(export_dir)
|
||||
updater = tf.compat.v1.saved_model.signature_def_utils.MethodNameUpdater(
|
||||
export_dir)
|
||||
# Update all signature_defs with key "foo" in all meta graph defs.
|
||||
updater.replace_method_name(signature_key="foo", method_name="regress")
|
||||
# Update a single signature_def with key "bar" in the meta graph def with
|
||||
|
Loading…
Reference in New Issue
Block a user