onnx_backend_test#

This module bundles the small C++ library lib_onnx_backend_test that mirrors the backend test node-case infrastructure from onnx_light.backend.test.case in pure C++. It only depends on lib_onnx_proto and exposes:

  • a runtime onnx::onnx_backend_test::Tensor (distinct from onnx::TensorProto) that stores raw element bytes;

  • a onnx::onnx_backend_test::TestCase bundle of onnx::ModelProto + expected input/output data sets;

  • the onnx::onnx_backend_test::Expect() helper and onnx::onnx_backend_test::CollectTestCases() registry.