yobx.sklearn.graph_builder#

Provides the onnx-light graph builder used by scikit-learn converters.

class yobx.sklearn.graph_builder.SklearnOnnxLightGraphBuilder(target_opset_or_existing_proto=18, *args, **kwargs)[source]#

Adds scikit-learn converter naming compatibility to the native builder.

unique_function_name(prefix: str) → str[source]#

Returns a collision-free local-function name.

unique_node_name(prefix: str) → str[source]#

Returns a collision-free operator name.