module onnx_tools.exports.skl2onnx_helper
#
Short summary#
module mlprodict.onnx_tools.exports.skl2onnx_helper
Helpers to run examples created with sklearn-onnx.
Functions#
function |
truncated documentation |
---|---|
Adds a whole ONNX graph to an existing one following skl2onnx API assuming this ONNX graph implements an … |
|
Returns the element type if that makes sense for this object. |
|
Returns the shape if that makes sense for this object. |
Documentation#
Helpers to run examples created with sklearn-onnx.
- mlprodict.onnx_tools.exports.skl2onnx_helper._clean_initializer_name(name, scope)#
- mlprodict.onnx_tools.exports.skl2onnx_helper._clean_operator_name(name, scope)#
- mlprodict.onnx_tools.exports.skl2onnx_helper._clean_variable_name(name, scope)#
- mlprodict.onnx_tools.exports.skl2onnx_helper._copy_inout(inout, scope, new_name)#
- mlprodict.onnx_tools.exports.skl2onnx_helper.add_onnx_graph(scope, operator, container, onx)#
Adds a whole ONNX graph to an existing one following skl2onnx API assuming this ONNX graph implements an operator.
- Parameters:
scope – scope (to get unique names)
operator – operator
container – container
onx – ONNX graph
- mlprodict.onnx_tools.exports.skl2onnx_helper.get_tensor_elem_type(obj)#
Returns the element type if that makes sense for this object.
- mlprodict.onnx_tools.exports.skl2onnx_helper.get_tensor_shape(obj)#
Returns the shape if that makes sense for this object.