Expand description
The model kind and the single typed IR payload.
The two IR families never merge. ModelKind is stored explicitly on the
package; ModelPayload is the tagged wrapper around exactly one payload.
The payload’s kind() must agree with the package’s model_kind (the
package asserts this), but the authoritative kind is the standalone field, so
a reader never infers the kind from which payload field is present.
Enums§
- Model
Kind - Which concrete static-grid IR family the payload is.
- Model
Payload - The one IR payload a package carries, tagged by
kindin JSON so the payload is self-describing in addition to the top-levelmodel_kind.