Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Fix calling convert_sklearn
  • Loading branch information
Exlsunshine committed Aug 2, 2019
1 parent a49d3d1 commit 9ea1a0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mlprodict/onnxrt/validate_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ def to_onnx(model, X=None, name=None, initial_types=None,
else:
old_values = None
res = convert_sklearn(model, initial_types=initial_types, name=name,
target_opset=target_opset, options=options,
dtype=new_dtype)
target_opset=target_opset, options=options)
if old_values is not None:
register_rewritten_operators(old_values)
return res
Expand Down

0 comments on commit 9ea1a0f

Please sign in to comment.