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

Method Repeat

mlx/data/stream/Repeat.cpp:11–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace stream {
10
11Repeat::Repeat(const std::shared_ptr<Stream>& stream, int64_t num_time)
12 : stream_(stream), numTime_(num_time), numDone_(0) {};
13
14Sample Repeat::next() const {
15 Sample sample;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected