aboutsummaryrefslogtreecommitdiff
path: root/python/tosa/DType.py
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-08-05 13:48:37 +0100
committerJames Ward <james.ward@arm.com>2022-10-04 13:02:00 +0100
commit485a11d8cb67c8062c632f0987cd31cedbe93d6d (patch)
treec12841ac81114120428418f1c359c3d145610804 /python/tosa/DType.py
parentc92710d7259558fb0cd9e9b38d0c78da21c6e2d4 (diff)
downloadserialization_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 'python/tosa/DType.py')
-rw-r--r--python/tosa/DType.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tosa/DType.py b/python/tosa/DType.py
index e6b41ed..27d28c4 100644
--- a/python/tosa/DType.py
+++ b/python/tosa/DType.py
@@ -13,3 +13,4 @@ class DType(object):
INT48 = 7
FLOAT = 8
UINT16 = 9
+ FP16 = 10