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

Method reset

python/src/wrap_stream.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 virtual void reset() {
38 py::gil_scoped_acquire gil;
39 next_ = iterable_factory_().attr("__iter__")().attr("__next__");
40 }
41
42 virtual Sample next() const {
43 Sample sample;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected