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

Class Format

mlx/data/core/Numpy.cpp:22–26  ·  view source on GitHub ↗

structure of the npy file format string (a string-serialized python dictionary), see parseNumpyFormat

Source from the content-addressed store, hash-verified

20/// structure of the npy file format string (a string-serialized python
21/// dictionary), see parseNumpyFormat
22struct Format {
23 std::string descr;
24 bool fortran_order;
25 std::vector<int64_t> shape;
26};
27
28/// tokens in the python dictionary, see parseNumpyFormat
29enum Token {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected