Skip to content

Commit

Permalink
Simplify import path to add_onnx_graph (#1024)
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
  • Loading branch information
xadupre committed Sep 5, 2023
1 parent 052f51d commit 9be63df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api_summary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ lists all available converters.
Helpers for new converters
==========================

.. autofunction:: skl2onnx.helpers.integration.add_onnx_graph
.. autofunction:: skl2onnx.helpers.add_onnx_graph

Manipulate ONNX graphs
======================
Expand Down
1 change: 1 addition & 0 deletions skl2onnx/helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

from .investigate import collect_intermediate_steps, compare_objects # noqa
from .investigate import enumerate_pipeline_models # noqa
from .integration import add_onnx_graph # noqa
2 changes: 1 addition & 1 deletion tests/test_other_converter_library_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from skl2onnx.operator_converters.linear_classifier import (
convert_sklearn_linear_classifier,
)
from skl2onnx.helpers.integration import add_onnx_graph
from skl2onnx.helpers import add_onnx_graph
from test_utils import dump_data_and_model, TARGET_OPSET


Expand Down

0 comments on commit 9be63df

Please sign in to comment.