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_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_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.onnxdomain.- 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_typeattribute used forfloat16andbfloat16intermediate accumulation.- Parameters:
since_version – Opset version for which to generate the documentation.
- Returns:
Documentation string for the Range operator.
-
std::string MakeBernoulliDoc()#
-
namespace generator
-
namespace onnx_op