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 fromonnx::TensorProto) that stores raw element bytes;a
onnx::onnx_backend_test::TestCasebundle ofonnx::ModelProto+ expected input/output data sets;the
onnx::onnx_backend_test::Expect()helper andonnx::onnx_backend_test::CollectTestCases()registry.