operator_sets.h#

namespace ONNX_LIGHT_NAMESPACE
namespace onnx_op

Functions

std::vector<LightOpSchema> GetAllOnnxOpSchemasWithHistory(bool init_doc = true)#

Returns the complete versioned schema history for all supported ONNX operator domains.

Combines schemas from the controlflow, generator, image, logical, math, nn, object_detection, optional, preview, quantization, reduction, sequence, tensor, text, traditionalml, and training sub-namespaces into a single flat list ordered by domain, operator name, and descending opset version.

Parameters:

init_doc – If true (default), each schema’s documentation string is populated. When false, documentation strings are discarded (doc() returns “”), which can save memory when documentation is not needed.

Returns:

Vector of LightOpSchema objects covering all supported operators and their historic opset versions.