MCPcopy Create free account
hub / github.com/ml-explore/mlx / write_header

Function write_header

mlx/export.cpp:523–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521};
522
523void write_header(Writer& os, int count, bool shapeless) {
524 serialize(os, std::string(version()));
525 serialize(os, count);
526 serialize(os, shapeless);
527}
528
529// A struct to hold and retrieve the graphs that are exported / imported
530struct FunctionTable {

Callers 2

FunctionExporterMethod · 0.85
export_functionMethod · 0.85

Calls 2

serializeFunction · 0.85
versionFunction · 0.85

Tested by

no test coverage detected