Skip to content

Commit

Permalink
fix: removed hardcoded optset and unused import
Browse files Browse the repository at this point in the history
Signed-off-by: boccaff <[email protected]>
  • Loading branch information
boccaff committed Nov 15, 2024
1 parent 95111ff commit bb16cff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion skl2onnx/operator_converters/target_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def convert_sklearn_target_encoder(
feature_column.onnx_name,
label_encoder_output,
op_domain="ai.onnx.ml",
op_version=2,
**attrs,
)
apply_reshape(
Expand Down
1 change: 0 additions & 1 deletion skl2onnx/shape_calculators/target_encoder.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0


import copy
from ..common._registration import register_shape_calculator
from ..common.data_types import FloatTensorType
from ..common.data_types import Int64TensorType, StringTensorType
Expand Down

0 comments on commit bb16cff

Please sign in to comment.