public class ModelArchive<T extends AbstractFloat>
Strict KNN 1.0 sequential model transport. A bounded JSON manifest describes allowlisted operators; aligned binary blocks preserve exact FP16/FP32/FP64 bits. SHA-256 detects corruption, not authenticity. Loading never evaluates code, resolves arbitrary types or follows paths supplied by a checkpoint.
checkpoint = ModelArchive<Float>.read(Path("model.knn"))
| Modifier and Type | Member | Description |
|---|---|---|
| public static | dtypedtype() as String |
Public precision identifier. |
| public static | readread(path as Path, maxBytes as ULong = 2147483648ul) as ModelCheckpoint<T> |
Loads and validates all architecture, ranges and checksums before publication. |
| public static | write | Writes a built sequential model using bounded I/O and atomic replacement. |