2019-06-25 ONNX, runtime#
Somebody asked me one day if it would be difficult to write a runtime for ONNX in Rust. I just replied that it should not take that long but it would require to implement a way to goes through the nodes of the ONNX graph and to have an implementation for every ONNX Operators…
So tried to do it in Python only
for scikit-learn models. Well…
It is not that difficult. And yet was class
OnnxInference
with one method to_sequence
.
Implementation of every operator needed is in folder
onnxrt.
Page about Command lines might be interesting to compare runtime.