ortops#
get_ort_ext_libs#
- onnx_extended.ortops.tutorial.cpu.get_ort_ext_libs() List[str] [source]#
Returns the list of libraries implementing new simple onnxruntime kernels implemented for the CPUExecutionProvider.
List of implemented kernels#
onnx_extented.ortops.tutorial.cpu#
<<<
from onnx_extended.ortops.tutorial.cpu import documentation
print("\n".join(documentation()))
>>>
onnx_extented.ortops.tutorial.cpu.MyCustomOp#
It does the sum of two tensors.
Provider
CPUExecutionProvider
Inputs
X (T): tensor of type T
Y (T): tensor of type T
Outputs
Z (T): addition of X, Y
Constraints
T: float
onnx_extented.ortops.tutorial.cpu.MyCustomOpWithAttributes#
It does the sum of two tensors + a constant equal to cst = att_float + att_int64 + att_string[0] + att_tensot[0].
Provider
CPUExecutionProvider
Attributes
att_float: a float
att_int64: an integer
att_tensor: a tensor of any type and shape
att_string: a string
Inputs
X (T): tensor of type T
Y (T): tensor of type T
Outputs
Z (T): addition of X, Y + cst
Constraints
T: float