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

Class FromStream

mlx/data/buffer/FromStream.h:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace buffer {
11
12class FromStream : public FromVector {
13 public:
14 FromStream(const std::shared_ptr<stream::Stream>& stream, int64_t size = -1);
15
16 private:
17 static std::vector<Sample> bufferize_(
18 std::shared_ptr<stream::Stream> stream,
19 int64_t size);
20};
21
22} // namespace buffer
23} // namespace data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected