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

Method ParallelFileReader

mlx/io/load.h:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59class ParallelFileReader : public Reader {
60 public:
61 explicit ParallelFileReader(std::string file_path)
62 : fd_(open(file_path.c_str(), O_RDONLY | O_BINARY)),
63 label_(std::move(file_path)) {}
64
65 ~ParallelFileReader() override {
66 close(fd_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected