Skip to content

Commit 57372f3

Browse files
authored
Delete OpsetVersionConverter.md which is a duplicate of VersionConverter.md (onnx#1818)
* Delete OpsetVersionConverter.md * update link to versionconverter.md * Update VersionConverter.md * Update VersionConverter.md
1 parent ab1c57e commit 57372f3

File tree

3 files changed

+8
-61
lines changed

3 files changed

+8
-61
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ONNX is [widely supported](http://onnx.ai/supported-tools) and can be found in m
2525
# Programming utilities for working with ONNX Graphs
2626
* [Shape and Type Inference](docs/ShapeInference.md)
2727
* [Graph Optimization](docs/Optimizer.md)
28-
* [Opset Version Conversion](docs/OpsetVersionConverter.md)
28+
* [Opset Version Conversion](docs/VersionConverter.md)
2929

3030
# Contribute
3131
ONNX is a community project. We encourage you to join the effort and contribute feedback, ideas, and code.

docs/OpsetVersionConverter.md

-50
This file was deleted.

docs/VersionConverter.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
# ONNX Version Converter
22

3-
ONNX provides a C++ library for converting ONNX models between different
4-
opset versions. The library leverages the convenient in-memory
5-
representation that is much more convenient to manipulate than the raw
6-
protobuf structs, and converters to and from the protobuf format which
7-
were developed for the ONNX Optimizer.
8-
9-
The primary motivation is to improve backwards compatibility of ONNX
3+
ONNX provides a library for converting ONNX models between different
4+
opset versions. The primary motivation is to improve backwards compatibility of ONNX
105
models without having to strengthen the spec for ONNX backends. This
116
allows backend developers to offer support for a particular opset version
127
and for users to write or export models to a particular opset version but
13-
run in an environment with a different opset version.
8+
run in an environment with a different opset version. Implementation wise, the library leverages the in-memory representation that is much more convenient to manipulate than the raw protobuf structs, and converters to and from the protobuf format which were developed for the ONNX Optimizer.
149

1510
You may be interested in invoking the provided op-specific adapters, or in
1611
implementing new ones (or both). Default adapters only work in the default
@@ -19,7 +14,9 @@ conversion methods, dependent on the nature of relevant breaking changes.
1914

2015
## Invoking The Version Converter
2116

22-
The version converter may be invoked either via C++ or Python. The Python API
17+
The version converter may be invoked either via C++ or Python.
18+
19+
The Python API
2320
is described, with example,
2421
[here](PythonAPIOverview.md#converting-opset-version-of-an-onnx-model).
2522

@@ -38,7 +35,7 @@ is the result of apply all relevant adapters between initial_version and
3835
target_version. For a list of available passes, see
3936
[convert.h](onnx/version_converter/convert.h).
4037

41-
Implementing Adapters
38+
## Implementing Adapters
4239

4340
You can implement a new adapter by subclassing `Adapter`, and registering
4441
your new adapter with `VersionConverter::registerAdapter()`. Adapters operate

0 commit comments

Comments
 (0)