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