Skip to main content

Module schema

Module schema 

Source
Expand description

Declarative operator schemas and an opset-aware registry (ONNX_RS §7).

Schemas are authored as YAML and loaded into owned Rust values. The built-in registry embeds high-value standard operators and can expand the YAML catalogue without changing the registry API.

Structs§

AttributeSpec
One operator attribute definition.
InputSpec
One positional operator input.
OpSchema
A complete operator definition for one opset interval.
OutputSpec
One positional operator output.
SchemaRegistry
Owned registry resolving (op_type, domain, opset) to an operator schema.
TypeConstraint
Allowed element types for a type variable.

Enums§

AttributeDefault
A typed YAML-compatible attribute default.
AttributeType
ONNX attribute kinds.
SchemaError
Failure while loading or registering schemas.