module onnxrt.ops_cpu
#
Short summary#
module mlprodict.onnxrt.ops_cpu
Shortcut to ops_cpu.
Functions#
function |
truncated documentation |
---|---|
Gets the operator related to the onnx node. |
|
Registers a new runtime operator. |
Documentation#
Shortcut to ops_cpu.
- mlprodict.onnxrt.ops_cpu.load_op(onnx_node, desc=None, options=None, runtime=None)#
Gets the operator related to the onnx node.
- Parameters:
onnx_node – onnx node
desc – internal representation
options – runtime options
runtime – runtime
existing_functions – existing functions
- Returns:
runtime class
- mlprodict.onnxrt.ops_cpu.register_operator(cls, name=None, overwrite=True)#
Registers a new runtime operator.
- Parameters:
cls – class
name – by default
cls.__name__
, or name if definedoverwrite – overwrite or raise an exception