majianjia / nnom

A higher-level Neural Network library for microcontrollers.
Apache License 2.0
908 stars 245 forks source link

Fix Deprecated Usage of `np.int` in `to_cstyle` Function in `gen_config.py` #213

Closed kanndil closed 7 months ago

kanndil commented 7 months ago

Description: This pull request addresses the deprecated usage of np.int in the to_cstyle function within the gen_config.py script. The np.int usage has been replaced with np.int32 to resolve the issue. The changes have been tested locally and verified to resolve the deprecated usage warning.

Changes Made:

Testing:

Related Issue: Fixes #212

majianjia commented 7 months ago

Looks superb. Thank you very much