operator_sets_preview.h#

namespace ONNX_LIGHT_NAMESPACE
namespace onnx_op
namespace preview#

Typedefs

using LightOpSchema = ONNX_LIGHT_NAMESPACE::onnx_op::LightOpSchema#

Functions

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

Returns the versioned schema history for all supported preview operators (e.g. FlexAttention) in the ai.onnx.preview domain.

Preview operators only have a single version (1); see the upstream ONNX convention which keeps preview specs at version 1 even when revised.

Returns:

Vector of LightOpSchema objects for the ai.onnx.preview domain, ordered by operator name and descending opset version.

Variables

constexpr const char *kOnnxPreviewDomain = "ai.onnx.preview"#

The ai.onnx.preview operator domain string.