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

Method read

python/src/load.cpp:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void read(char* data, size_t n) override {
149 nb::gil_scoped_acquire gil;
150 _read(data, n);
151 }
152
153 void read(char* data, size_t n, size_t offset) override {
154 nb::gil_scoped_acquire gil;

Callers 5

_thread_fnFunction · 0.45
_launch_with_ioFunction · 0.45
count_primsMethod · 0.45
test_shared_broadcastMethod · 0.45
test_to_dotMethod · 0.45

Calls

no outgoing calls

Tested by 3

count_primsMethod · 0.36
test_shared_broadcastMethod · 0.36
test_to_dotMethod · 0.36