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

Method FromStream

mlx/data/buffer/FromStream.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace buffer {
8
9FromStream::FromStream(
10 const std::shared_ptr<stream::Stream>& stream,
11 int64_t size)
12 : FromVector(bufferize_(stream, size)) {}
13
14std::vector<Sample> FromStream::bufferize_(
15 std::shared_ptr<stream::Stream> stream,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected