Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify import path to add_onnx_graph #1024

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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