include_logical_cases.h#
-
namespace onnx_light
Alias that makes onnx-light headers compatible with code that references
ONNX_LIGHT_NAMESPACE(the macro used in the standard onnx package).Set to
ONNX_LIGHT_NAMESPACEso both names resolve to the same namespace.Symbol-visibility attribute for the public onnx-light C++ API.
Maps the upstream compatibility macro to onnx-light’s explicit proto ABI annotation. This keeps declarations from vendored ONNX headers visible when
lib_onnx_protouses hidden visibility by default.Namespace alias so that ONNX C++ code (and consumers such as onnxruntime) that refers to the literal
onnxnamespace — rather than theONNX_NAMESPACEmacro — resolves to the onnx-light namespace. The standard onnx package lives innamespace onnx; onnx-light usesonnx_light(via ONNX_LIGHT_NAMESPACE), so this alias keeps onnx-light a true drop-in. It is only introduced when the onnx-light namespace differs fromonnx.-
namespace onnx_backend_test
Functions
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAndCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Andbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterOrCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Orbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterXorCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Xorbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGreaterCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Greaterbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLessCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Lessbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGreaterOrEqualCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GreaterOrEqualbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLessOrEqualCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LessOrEqualbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterEqualCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Equalbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterWhereCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Wherebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterNotCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Notbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterIsNaNCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
IsNaNbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterIsInfCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
IsInfbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBitwiseAndCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BitwiseAndbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBitwiseOrCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BitwiseOrbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBitwiseXorCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BitwiseXorbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBitwiseNotCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BitwiseNotbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAndCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
-
namespace onnx_backend_test