Skip to content
Snippets Groups Projects
Commit 36121767 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Update data_conversion with new datatype API change.

parent 407ef729
No related branches found
No related tags found
3 merge requests!279v0.4.0,!253v0.4.0,!163Export refactor
...@@ -3,17 +3,17 @@ import aidge_core ...@@ -3,17 +3,17 @@ import aidge_core
datatype_converter_aide2c = { datatype_converter_aide2c = {
aidge_core.DataType.Float64 : "double", aidge_core.dtype.float64 : "double",
aidge_core.DataType.Float32 : "float", aidge_core.dtype.float32 : "float",
aidge_core.DataType.Float16 : "half_float::half", aidge_core.dtype.float16 : "half_float::half",
aidge_core.DataType.Int8 : "int8_t", aidge_core.dtype.int8 : "int8_t",
aidge_core.DataType.Int16 : "int16_t", aidge_core.dtype.int16 : "int16_t",
aidge_core.DataType.Int32 : "int32_t", aidge_core.dtype.int32 : "int32_t",
aidge_core.DataType.Int64 : "int64_t", aidge_core.dtype.int64 : "int64_t",
aidge_core.DataType.UInt8 : "uint8_t", aidge_core.dtype.uint8 : "uint8_t",
aidge_core.DataType.UInt16 : "uint16_t", aidge_core.dtype.uint16 : "uint16_t",
aidge_core.DataType.UInt32 : "uint32_t", aidge_core.dtype.uint32 : "uint32_t",
aidge_core.DataType.UInt64 : "uint64_t" aidge_core.dtype.uint64 : "uint64_t"
} }
def aidge2c(datatype): def aidge2c(datatype):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment