Skip to content

Commit

Permalink
Remove the line
Browse files Browse the repository at this point in the history
Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
  • Loading branch information
Sarit Ritwirune authored and sdpython committed Jul 27, 2021
1 parent 0275cbc commit 8801497
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions skl2onnx/operator_converters/support_vector_machines.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,6 @@ def convert_sklearn_svm_classifier(
# transformed_confidences = (
# sum_of_confidences / (3 * (np.abs(sum_of_confidences) + 1)))
# return votes + transformed_confidences
# if list(op.classes_) != list(range(len(op.classes_))):
# raise RuntimeError(
# "Classes different from first n integers are not supported "
# "in SVC converter.")

cst3 = scope.get_unique_variable_name('cst3')
container.add_initializer(cst3, proto_dtype, [], [3])
Expand Down

0 comments on commit 8801497

Please sign in to comment.