mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 08:38:09 +08:00
Added stubs for python files generated from C++ (#136)
* added pybind11-stubgen * docs for generating stubs * added line to readme
This commit is contained in:
@@ -80,3 +80,10 @@ for more information on building the C++ and Python APIs from source.
|
||||
|
||||
Check out the [contribution guidelines](CONTRIBUTING.md) for more information
|
||||
on contributing to MLX.
|
||||
|
||||
Optional: Generate stubs for C++ python objects to enable IDE auto-completion
|
||||
|
||||
```shell
|
||||
pip install ".[dev]"
|
||||
python setup.py generate_stubs
|
||||
```
|
Reference in New Issue
Block a user