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