Skip to content

Commit f9fe978

Browse files
committed
doc
1 parent efa93ab commit f9fe978

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOGS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Change Logs
44
0.7.3
55
+++++
66

7-
* :pr:`172`: fixes function to_any for BaseModelOutput
7+
* :pr:`173`: fixes function to_any for BaseModelOutput
88

99

1010
0.7.2

_doc/patches.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ and triggered by ``with torch_export_patches(patch_transformers=True)``.
104104
This function does one class,
105105
:func:`onnx_diagnostic.torch_export_patches.onnx_export_serialization.register_cache_serialization`
106106
does all known classes.
107-
It can be undone with :func:`onnx_diagnostic.torch_export_patches.onnx_export_serialization.unregister`
107+
It can be undone with
108+
:func:`onnx_diagnostic.torch_export_patches.onnx_export_serialization.unregister_class_serialization`
108109
or :func:`onnx_diagnostic.torch_export_patches.onnx_export_serialization.unregister_cache_serialization`.
109110
Here is the list of supported caches:
110111

onnx_diagnostic/torch_export_patches/onnx_export_serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def register_class_serialization(
2828
) -> bool:
2929
"""
3030
Registers a class.
31-
It can be undone with :func:`unregister`.
31+
It can be undone with :func:`unregister_class_serialization`.
3232
3333
:param cls: class to register
3434
:param f_flatten: see ``torch.utils._pytree.register_pytree_node``

0 commit comments

Comments
 (0)