Expand description
Structural sanity check. Reject malformed input before any
other pass mutates it. Pure function over GraphProto.
Implemented rules:
- Rule 1 — op type known (framework reserved opsets +
ai.onnx). - Rule 2 — inputs reachable.
- Rule 3 — outputs unique.
- Rule 5 — every graph input has a matching
ValueInfoProto. - Rule 6 — role-domain NodeProtos carry canonical metadata.
- Rule 7 — no cycles.
Functions§
- validate
- Validate the recorded graph. Pure.