include_math_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 RegisterAbsCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Absbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAcosCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Acosbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAcoshCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Acoshbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAsinCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Asinbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAsinhCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Asinhbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAtanCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Atanbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAtanhCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Atanhbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCosCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Cosbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCoshCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Coshbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCumSumCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
CumSumbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCumProdCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
CumProdbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDFTCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
DFTbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSTFTCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
STFTbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDetCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Detbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSigmoidCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sigmoidbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSoftmaxCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Softmaxbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLogSoftmaxCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LogSoftmaxbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSoftmaxCrossEntropyLossCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
SoftmaxCrossEntropyLossbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterNegativeLogLikelihoodLossCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
NegativeLogLikelihoodLossbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSoftplusCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Softplusbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSoftsignCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Softsignbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSinCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sinbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSinhCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sinhbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSqrtCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sqrtbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTanCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Tanbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTanhCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Tanhbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterThresholdedReluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
ThresholdedRelubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterReluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Relubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLeakyReluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
LeakyRelubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterEluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Elubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCeluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Celubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGeluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Gelubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSeluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Selubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSwishCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Swishbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSwiGLUCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
SwiGLUbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMishCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Mishbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAddCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Addbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSubCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Subbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSumCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sumbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMulCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Mulbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterNegCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Negbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterPowCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Powbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterPReluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
PRelubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDivCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Divbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterModCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Modbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterEinsumCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Einsumbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterExpCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Expbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterErfCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Erfbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSignCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Signbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGemmCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Gemmbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMatMulCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MatMulbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMatMulIntegerCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MatMulIntegerbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMaxCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Maxbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMinCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Minbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMeanCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Meanbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterMelWeightMatrixCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
MelWeightMatrixbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterLogCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Logbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBlackmanWindowCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BlackmanWindowbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterFloorCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Floorbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCeilCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Ceilbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterClipCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Clipbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterReciprocalCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Reciprocalbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterRoundCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Roundbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterHannWindowCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
HannWindowbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterHammingWindowCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
HammingWindowbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterHardSigmoidCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
HardSigmoidbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterHardSwishCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
HardSwishbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterHardmaxCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Hardmaxbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterShrinkCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Shrinkbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAbsCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
-
namespace onnx_backend_test