-
Notifications
You must be signed in to change notification settings - Fork 112
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
Update CI with onnxruntime==1.19.0 #1125
Conversation
Signed-off-by: xadupre <[email protected]>
Signed-off-by: xadupre <[email protected]>
|
||
print("numpy:", numpy.__version__) | ||
print("scikit-learn:", sklearn.__version__) | ||
import skl2onnx # noqa | ||
import skl2onnx |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from' Note documentation
|
||
print("numpy:", np.__version__) | ||
print("scikit-learn:", sklearn.__version__) | ||
import skl2onnx # noqa | ||
import skl2onnx |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from' Note documentation
|
||
print("numpy:", numpy.__version__) | ||
print("scikit-learn:", sklearn.__version__) | ||
import skl2onnx # noqa | ||
import skl2onnx |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from' Note documentation
@@ -35,7 +36,7 @@ | |||
from skl2onnx.algebra.onnx_ops import OnnxCast | |||
from skl2onnx.algebra.onnx_operator import OnnxSubEstimator | |||
from skl2onnx.sklapi import WOETransformer | |||
import skl2onnx.sklapi.register # noqa | |||
import skl2onnx.sklapi.register # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note documentation
@@ -22,7 +22,7 @@ | |||
from sklearn.feature_extraction.text import TfidfVectorizer | |||
from skl2onnx import to_onnx | |||
from skl2onnx.sklapi import TraceableTfidfVectorizer | |||
import skl2onnx.sklapi.register # noqa | |||
import skl2onnx.sklapi.register # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note documentation
from onnxconverter_common.data_types import ( # noqa: F401 | ||
DataType, | ||
Int64Type, | ||
FloatType, # noqa | ||
FloatType, | ||
StringType, | ||
TensorType, # noqa | ||
TensorType, | ||
Int64TensorType, | ||
Int32TensorType, | ||
BooleanTensorType, # noqa | ||
BooleanTensorType, | ||
FloatTensorType, | ||
StringTensorType, | ||
DoubleTensorType, # noqa | ||
DoubleTensorType, | ||
DictionaryType, | ||
SequenceType, | ||
) # noqa | ||
) |
Check notice
Code scanning / CodeQL
Unused import Note
Import of 'FloatType' is not used.
Import of 'StringType' is not used.
skl2onnx/common/utils.py
Outdated
from onnxconverter_common.utils import ( # noqa: F401 | ||
sklearn_installed, | ||
skl2onnx_installed, | ||
is_numeric_type, | ||
is_string_type, | ||
cast_list, | ||
convert_to_python_value, | ||
convert_to_python_default_value, | ||
convert_to_list, | ||
check_input_and_output_numbers, | ||
) |
Check notice
Code scanning / CodeQL
Unused import Note
Import of 'skl2onnx_installed' is not used.
Import of 'is_numeric_type' is not used.
Import of 'is_string_type' is not used.
Import of 'cast_list' is not used.
Import of 'convert_to_python_value' is not used.
Import of 'convert_to_python_default_value' is not used.
Import of 'convert_to_list' is not used.
Import of 'check_input_and_output_numbers' is not used.
Import of 'check_input_and_output_types' is not used.
@@ -11,8 +11,8 @@ | |||
from ._parse import parse_sklearn_model | |||
|
|||
# Invoke the registration of all our converters and shape calculators. | |||
from . import shape_calculators # noqa | |||
from . import operator_converters # noqa | |||
from . import shape_calculators # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note
from . import shape_calculators # noqa | ||
from . import operator_converters # noqa | ||
from . import shape_calculators # noqa: F401 | ||
from . import operator_converters # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note
@@ -7,7 +7,7 @@ | |||
from numpy.testing import assert_allclose | |||
|
|||
try: | |||
import onnx.reference # noqa | |||
import onnx.reference # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note test
Signed-off-by: xadupre <[email protected]>
Signed-off-by: xadupre <[email protected]>
Signed-off-by: xadupre <[email protected]>
Signed-off-by: xadupre <[email protected]>
Signed-off-by: xadupre <[email protected]>
from test_utils import TARGET_OPSET, InferenceSessionEx as InferenceSession | ||
import skl2onnx.sklapi.register # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note test
from skl2onnx import to_onnx | ||
from test_utils import TARGET_OPSET, InferenceSessionEx as InferenceSession | ||
import skl2onnx.sklapi.register # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note test
Signed-off-by: xadupre <[email protected]>
No description provided.