include_nn_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 RegisterAveragePoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
AveragePoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAttentionCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Attentionbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBatchNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BatchNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCol2ImCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Col2Imbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDeformConvCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
DeformConvbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterConvCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Convbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterConvIntegerCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
ConvIntegerbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterConvTransposeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
ConvTransposebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDropoutCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Dropoutbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterFlattenCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Flattenbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGlobalAveragePoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GlobalAveragePoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGlobalLpPoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GlobalLpPoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGlobalMaxPoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GlobalMaxPoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGroupNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GroupNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGRUCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GRUbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterInstanceNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
InstanceNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLayerNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LayerNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLinearAttentionCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LinearAttentionbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLRNCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LRNbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLpNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LpNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLpPoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LpPoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLSTMCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LSTMbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMaxPoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MaxPoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMaxRoiPoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MaxRoiPoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMaxUnpoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MaxUnpoolbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMeanVarianceNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MeanVarianceNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterRNNCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
RNNbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterRMSNormalizationCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
RMSNormalizationbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterRotaryEmbeddingCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
RotaryEmbeddingbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAveragePoolCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
-
namespace onnx_backend_test