aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/serializer/tosa_serializer.py1
-rw-r--r--python/tosa/DType.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/python/serializer/tosa_serializer.py b/python/serializer/tosa_serializer.py
index b29f963..660619b 100644
--- a/python/serializer/tosa_serializer.py
+++ b/python/serializer/tosa_serializer.py
@@ -53,6 +53,7 @@ DTypeNames = [
"INT32",
"INT48",
"FLOAT",
+ "UINT16",
]
ByteMask = np.uint64(0xFF)
diff --git a/python/tosa/DType.py b/python/tosa/DType.py
index 65432db..ad9048b 100644
--- a/python/tosa/DType.py
+++ b/python/tosa/DType.py
@@ -12,4 +12,5 @@ class DType(object):
INT32 = 6
INT48 = 7
FLOAT = 8
+ UINT16 = 9