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

Method get

mlx/data/Buffer.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 : Dataset<Buffer, buffer::Buffer>(self) {};
21
22Sample Buffer::get(int64_t idx) const {
23 return self_->get(idx);
24}
25int64_t Buffer::size() const {
26 return self_->size();
27}

Callers 8

bpeFunction · 0.45
nextMethod · 0.45
init_mlx_data_bufferFunction · 0.45
dataMethod · 0.45
ArrayMethod · 0.45
fillMethod · 0.45
dataMethod · 0.45
scalarMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected