Skip to main content

CANONICAL_FORM_VERSION

Constant CANONICAL_FORM_VERSION 

Source
pub const CANONICAL_FORM_VERSION: u32 = 3;
Expand description

Canonical-form version (see module docs). Bumped to 3 to make node ordering total when NodeProto.name is empty by extending the topological tie-break with output tensor names and a canonical node digest fallback. This is a compatibility break: models with previously ambiguous (name, op_type, domain) ties can now receive different κ-labels than canonical-form v2.