fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.22k stars 396 forks source link

remove obsolete np.int and np.float #703

Closed jmitrevs closed 1 year ago

jmitrevs commented 1 year ago

Description

Starting with numpy 1.24 np.int and np.float are no longer just deprecated but raise an error. This PR just changes them to int and float.

Type of change

Tests

Pytests with the quartus backend and test_embedded.py both fail without this change.

Checklist