onnx_kernels#
This module documents the C++ static library lib_onnx_kernels that
bundles the ONNX operator kernel implementations together with the
runtime infrastructure they rely on (TestCase, Tensor,
run_nodes, random …). It only depends on lib_onnx_proto and
exposes:
a runtime
onnx_light::onnx_kernels::Tensor(distinct fromonnx_light::TensorProto) that stores raw element bytes;a
onnx_light::onnx_backend_test::TestCasebundle ofonnx_light::ModelProto+ expected input/output data sets;the
onnx_light::onnx_backend_test::Expect()helper andonnx_light::onnx_backend_test::CollectTestCases()registry;the ONNX operator kernel implementations themselves under
onnx_kernels/kernels/.