operator_sets_generator_doc.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_op
namespace generator

Functions

std::string MakeBernoulliDoc()#

Returns the documentation string for the Bernoulli operator. The documentation has been stable since opset 15 in the ai.onnx domain.

Returns:

Documentation string for the Bernoulli operator.

std::string MakeConstantDoc(int since_version)#

Returns the documentation string for the Constant operator at the given opset version.

Parameters:

since_version – Opset version for which to generate the documentation.

Returns:

Documentation string for the Constant operator.

std::string MakeConstantOfShapeDoc(int since_version)#

Returns the documentation string for the ConstantOfShape operator at the given opset version. The documentation has been stable since opset 9.

Parameters:

since_version – Opset version for which to generate the documentation.

Returns:

Documentation string for the ConstantOfShape operator.

std::string MakeEyeLikeDoc(int since_version)#

Returns the documentation string for the EyeLike operator. The documentation has been stable since opset 9.

Parameters:

since_version – Opset version for which to generate the documentation.

Returns:

Documentation string for the EyeLike operator.

std::string MakeRandomNormalDoc()#

Returns the documentation string for the RandomNormal operator. The documentation has been stable since opset 1.

Returns:

Documentation string for the RandomNormal operator.

std::string MakeMultinomialDoc()#

Returns the documentation string for the Multinomial operator. The documentation has been stable since opset 7.

Returns:

Documentation string for the Multinomial operator.

std::string MakeRandomNormalLikeDoc()#

Returns the documentation string for the RandomNormalLike operator. The documentation has been stable since opset 1.

Returns:

Documentation string for the RandomNormalLike operator.

std::string MakeRandomUniformDoc()#

Returns the documentation string for the RandomUniform operator. The documentation has been stable since opset 1.

Returns:

Documentation string for the RandomUniform operator.

std::string MakeRandomUniformLikeDoc()#

Returns the documentation string for the RandomUniformLike operator. The documentation has been stable since opset 1.

Returns:

Documentation string for the RandomUniformLike operator.

std::string MakeRangeDoc(int since_version)#

Returns the documentation string for the Range operator at the given opset version. The documentation was stable from opset 11 through 26; opset 27 appends an explanation of the stash_type attribute used for float16 and bfloat16 intermediate accumulation.

Parameters:

since_version – Opset version for which to generate the documentation.

Returns:

Documentation string for the Range operator.