Learn R Programming

ggmlR (version 0.8.1)

ggml_unmarshal_model: Unmarshal a ggmlR model from an in-memory container

Description

Reconstructs a ggmlR model previously produced by ggml_marshal_model. Validates the container's format tag, schema version, and (if digest is installed) the SHA-256 checksum of the payload before deserializing.

Usage

ggml_unmarshal_model(x, backend = NULL)

Value

A compiled ggmlR model object (sequential or functional).

Arguments

x

A "ggmlR_marshaled" container.

backend

Backend selection passed through to ggml_load_model. Default "auto".

See Also

ggml_marshal_model, ggml_load_model