We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92c8880 + e49f288 commit 267c0c2Copy full SHA for 267c0c2
hls4ml/model/graph.py
@@ -732,7 +732,7 @@ def _get_top_function(self, x):
732
if x0.dtype in [np.single, np.float32]:
733
top_function = getattr(self._top_function_lib, self.config.get_project_name() + '_float')
734
ctype = ctypes.c_float
735
- elif x0.dtype in [np.double, np.float64, np.float_]:
+ elif x0.dtype in [np.double, np.float64]:
736
top_function = getattr(self._top_function_lib, self.config.get_project_name() + '_double')
737
ctype = ctypes.c_double
738
else:
0 commit comments