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

Method is_open

python/src/load.cpp:345–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 }
344
345 bool is_open() const override {
346 bool out;
347 {
348 nb::gil_scoped_acquire gil;
349 out = !nb::cast<bool>(pyostream_.attr("closed"));
350 }
351 return out;
352 }
353
354 bool good() const override {
355 bool out;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected