Debugging with Environment Variables#
Debugging depends on the builder used to build the ONNX model.
The default option is GraphBuilder
and offers debugging options through environment variables.
See Debugging.
The converters for scikit-learn are written in an efficient way and there is not much pattern optimization can bring to it except maybe optimizations specific to onnxruntime. In any way, if anything goes wrong, the following page gives some tips to find out the cause of any failure, usually a pattern not triggering when it should: Pattern Optimization Environment Variables.