[DataType] Complete python binding to map all dtype values
Compare changes
+ 36
− 14
@@ -17,20 +17,42 @@ namespace py = pybind11;
Complete python binding to map all dtype values, i.e. from python aidge_core.dtype.[float32|float64|int64|...] Defined str(aidge_core.dtype) to return:"float32"|"float64"|"int64"|...
This makes str(aidge_core.dtype) equal to str(ndarray.dtype) for common scalar types.
Modified pybind_Data.cpp
:
No major modification.
Actually now gives access to all aidge_ocre dtypes as the binding is automatically generated form the type names.
No todo forecasted.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent