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_NAMESPACE so both names resolve to the same namespace.

Symbol-visibility attribute for the public onnx-light C++ API.

Defined as empty because onnx-light does not require explicit __declspec(dllexport) or __attribute__((visibility("default"))) annotations — visibility is controlled at the shared-library level. The macro is provided so that vendored ONNX headers that decorate their declarations with ONNX_API compile without modification.

Namespace alias so that ONNX C++ code (and consumers such as onnxruntime) that refers to the literal onnx namespace — rather than the ONNX_NAMESPACE macro — resolves to the onnx-light namespace. The standard onnx package lives in namespace onnx; onnx-light uses onnx_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 from onnx.

namespace onnx_backend_test

Functions

void RegisterAveragePoolCases(std::vector<TestCase> &registry)#

Registers the AveragePool backend test node case(s).

void RegisterAttentionCases(std::vector<TestCase> &registry)#

Registers the Attention backend test node case(s).

void RegisterBatchNormalizationCases(std::vector<TestCase> &registry)#

Registers the BatchNormalization backend test node case(s).

void RegisterCol2ImCases(std::vector<TestCase> &registry)#

Registers the Col2Im backend test node case(s).

void RegisterDeformConvCases(std::vector<TestCase> &registry)#

Registers the DeformConv backend test node case(s).

void RegisterConvCases(std::vector<TestCase> &registry)#

Registers the Conv backend test node case(s).

void RegisterConvIntegerCases(std::vector<TestCase> &registry)#

Registers the ConvInteger backend test node case(s).

void RegisterConvTransposeCases(std::vector<TestCase> &registry)#

Registers the ConvTranspose backend test node case(s).

void RegisterDropoutCases(std::vector<TestCase> &registry)#

Registers the Dropout backend test node case(s).

void RegisterFlattenCases(std::vector<TestCase> &registry)#

Registers the Flatten backend test node case(s).

void RegisterGlobalAveragePoolCases(std::vector<TestCase> &registry)#

Registers the GlobalAveragePool backend test node case(s).

void RegisterGlobalLpPoolCases(std::vector<TestCase> &registry)#

Registers the GlobalLpPool backend test node case(s).

void RegisterGlobalMaxPoolCases(std::vector<TestCase> &registry)#

Registers the GlobalMaxPool backend test node case(s).

void RegisterGroupNormalizationCases(std::vector<TestCase> &registry)#

Registers the GroupNormalization backend test node case(s).

void RegisterGRUCases(std::vector<TestCase> &registry)#

Registers the GRU backend test node case(s).

void RegisterInstanceNormalizationCases(std::vector<TestCase> &registry)#

Registers the InstanceNormalization backend test node case(s).

void RegisterLayerNormalizationCases(std::vector<TestCase> &registry)#

Registers the LayerNormalization backend test node case(s).

void RegisterLinearAttentionCases(std::vector<TestCase> &registry)#

Registers the LinearAttention backend test node case(s).

void RegisterLRNCases(std::vector<TestCase> &registry)#

Registers the LRN backend test node case(s).

void RegisterLpNormalizationCases(std::vector<TestCase> &registry)#

Registers the LpNormalization backend test node case(s).

void RegisterLpPoolCases(std::vector<TestCase> &registry)#

Registers the LpPool backend test node case(s).

void RegisterLSTMCases(std::vector<TestCase> &registry)#

Registers the LSTM backend test node case(s).

void RegisterMaxPoolCases(std::vector<TestCase> &registry)#

Registers the MaxPool backend test node case(s).

void RegisterMaxRoiPoolCases(std::vector<TestCase> &registry)#

Registers the MaxRoiPool backend test node case(s).

void RegisterMaxUnpoolCases(std::vector<TestCase> &registry)#

Registers the MaxUnpool backend test node case(s).

void RegisterMeanVarianceNormalizationCases(std::vector<TestCase> &registry)#

Registers the MeanVarianceNormalization backend test node case(s).

void RegisterRNNCases(std::vector<TestCase> &registry)#

Registers the RNN backend test node case(s).

void RegisterRMSNormalizationCases(std::vector<TestCase> &registry)#

Registers the RMSNormalization backend test node case(s).

void RegisterRotaryEmbeddingCases(std::vector<TestCase> &registry)#

Registers the RotaryEmbedding backend test node case(s).

void RegisterCausalConvWithStateCases(std::vector<TestCase> &registry)#

Registers the CausalConvWithState backend test node case(s).

void CollectNNTestCases(std::vector<TestCase> &registry, const std::string &op_type = "")#

Collects all nn op category backend test node cases by invoking every Register*Cases helper declared in this header.