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

Method ~PyFunctionExporter

python/src/export.cpp:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 PyFunctionExporter(mx::FunctionExporter exporter, nb::handle dep)
74 : exporter_(std::move(exporter)), dep_(dep) {}
75 ~PyFunctionExporter() {
76 nb::gil_scoped_acquire gil;
77 }
78 PyFunctionExporter(const PyFunctionExporter&) = delete;
79 PyFunctionExporter& operator=(const PyFunctionExporter&) = delete;
80 PyFunctionExporter& operator=(const PyFunctionExporter&&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected