diff options
author | James Ward <james.ward@arm.com> | 2022-08-05 13:48:37 +0100 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-10-04 13:02:00 +0100 |
commit | 485a11d8cb67c8062c632f0987cd31cedbe93d6d (patch) | |
tree | c12841ac81114120428418f1c359c3d145610804 /include/attribute.h | |
parent | c92710d7259558fb0cd9e9b38d0c78da21c6e2d4 (diff) | |
download | serialization_lib-485a11d8cb67c8062c632f0987cd31cedbe93d6d.tar.gz |
FP16 support in serialization
* Allow serialization of fp16 data
* Add package to support integrated half data-type (half_float::half), independent of native float: http://half.sourceforge.net/
* Allow passing of accumulate data-type in serialization
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I54357f02e3776d81958228f699ea5044f2014f4b
Diffstat (limited to 'include/attribute.h')
-rw-r--r-- | include/attribute.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/attribute.h b/include/attribute.h index 93f7bc4..1178ee4 100644 --- a/include/attribute.h +++ b/include/attribute.h @@ -47,6 +47,7 @@ public: #define DEF_ARGS_VER0_S_float(V) DEF_ARGS_VER0_S_DEFAULT(V) #define DEF_ARGS_VER0_S_bool(V) DEF_ARGS_VER0_S_DEFAULT(V) #define DEF_ARGS_VER0_S_ResizeMode(V) DEF_ARGS_VER0_S_DEFAULT(V) +#define DEF_ARGS_VER0_S_DType(V) DEF_ARGS_VER0_S_DEFAULT(V) #define DEF_ARGS_VER0_S_string(V) DEF_ARGS_VER0_S_STR(V) #define DEF_ARGS_VER0_S(T, V) DEF_ARGS_VER0_S_##T(V) @@ -153,6 +154,7 @@ public: #undef DEF_ARGS_VER0_S_float #undef DEF_ARGS_VER0_S_bool #undef DEF_ARGS_VER0_S_ResizeMode +#undef DEF_ARGS_VER0_S_DType #undef DEF_ARGS_VER0_S_string #undef DEF_ARGS_VER0_S_STR #undef DEF_ARGS_VER0_S_DEFAULT |