MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / operator()

Method operator()

mlx/data/core/ThreadPool.h:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 TaskContainer(F&& func) : f_(std::forward<F>(func)) {}
68
69 void operator()() override {
70 f_();
71 }
72
73 private:
74 F f_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected