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_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 RegisterConcatCases(std::vector<TestCase> &registry)#

Registers the Concat backend test node case(s).

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

Registers the Cast backend test node case(s).

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

Registers the CastLike backend test node case(s).

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

Registers the BitCast backend test node case(s).

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

Registers the AffineGrid backend test node case(s).

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

Registers the GridSample backend test node case(s).

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

Registers the Expand backend test node case(s).

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

Registers the Reshape backend test node case(s).

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

Registers the Slice backend test node case(s).

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

Registers the Tile backend test node case(s).

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

Registers the Pad backend test node case(s).

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

Registers the Upsample backend test node case(s).

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

Registers the Resize backend test node case(s).

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

Registers the Transpose backend test node case(s).

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

Registers the Trilu backend test node case(s).

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

Registers the CenterCropPad backend test node case(s).

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

Registers the ReverseSequence backend test node case(s).

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

Registers the DepthToSpace backend test node case(s).

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

Registers the SpaceToDepth backend test node case(s).

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

Registers the Squeeze backend test node case(s).

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

Registers the Unsqueeze backend test node case(s).

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

Registers the NonZero backend test node case(s).

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

Registers the OneHot backend test node case(s).

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

Registers the Unique backend test node case(s).

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

Registers the Shape backend test node case(s).

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

Registers the Size backend test node case(s).

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

Registers the Identity backend test node case(s).

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

Registers the Gather backend test node case(s).

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

Registers the GatherElements backend test node case(s).

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

Registers the GatherND backend test node case(s).

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

Registers the Compress backend test node case(s).

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

Registers the Split backend test node case(s).

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

Registers the TensorScatter backend test node case(s).

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

Registers the ScatterElements backend test node case(s).

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

Registers the deprecated Scatter (opset 9, deprecated since opset 11) backend test node case(s).

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

Registers the ScatterND backend test node case(s).

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

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