Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ init_mlx_func
Function
init_mlx_func
python/src/mlx_func.cpp:111–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
109
}
110
111
void init_mlx_func(nb::module_& m) {
112
gc_func_tp = (PyTypeObject*)PyType_FromSpec(&gc_func_spec);
113
if (!gc_func_tp) {
114
nb::raise(
"Could not register MLX function type."
);
115
}
116
}
Callers
1
NB_MODULE
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected