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

Method is_open

python/src/load.cpp:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 bool is_open() const override {
116 bool out;
117 {
118 nb::gil_scoped_acquire gil;
119 out = !nb::cast<bool>(pyistream_.attr("closed"));
120 }
121 return out;
122 }
123
124 bool good() const override {
125 bool out;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected