include_tensor_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 RegisterConcatCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Concatbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCastCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Castbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCastLikeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
CastLikebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterBitCastCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
BitCastbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterAffineGridCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
AffineGridbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGridSampleCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GridSamplebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterExpandCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Expandbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterReshapeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Reshapebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSliceCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Slicebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTileCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Tilebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterPadCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Padbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterUpsampleCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Upsamplebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterResizeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Resizebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTransposeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Transposebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTriluCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Trilubackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCenterCropPadCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
CenterCropPadbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterReverseSequenceCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
ReverseSequencebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterDepthToSpaceCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
DepthToSpacebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSpaceToDepthCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
SpaceToDepthbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSqueezeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Squeezebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterUnsqueezeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Unsqueezebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterNonZeroCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
NonZerobackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterOneHotCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
OneHotbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterUniqueCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Uniquebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterShapeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Shapebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSizeCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Sizebackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterIdentityCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Identitybackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGatherCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Gatherbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGatherElementsCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GatherElementsbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterGatherNDCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
GatherNDbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterCompressCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Compressbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterSplitCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
Splitbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterTensorScatterCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
TensorScatterbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterScatterElementsCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the
ScatterElementsbackend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterScatterCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
Registers the deprecated
Scatter(opset 9, deprecated since opset 11) backend test node case(s).
-
ONNX_LIGHT_BACKEND_TEST_LOCAL void RegisterConcatCases(std::vector<TestCase> ®istry, TestMode mode = TestMode::TEST)#
-
namespace onnx_backend_test