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