aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-12-07 15:38:01 +0000
committerEric Kunze <eric.kunze@arm.com>2023-01-18 01:04:54 +0000
commitc15f7d52aa4f360eba2344449baa418b7608ac7c (patch)
treeb0322cb02004e9e0a325c847c0bd332051b8389b /schema
parent5e268097917825ddaa00a86ee95a4a6c4f50124b (diff)
downloadserialization_lib-c15f7d52aa4f360eba2344449baa418b7608ac7c.tar.gz
Schema changes for CLAMP, PAD float attributes
* Float attributes now serialized as uint8 vectors, but treated as floats at input/output to serialization Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I417b0fabe0ef11fea263fe937b57d49bbfdb00da
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs6
1 files changed, 3 insertions, 3 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index ff8697b..e4a2498 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -173,7 +173,7 @@ table TransposeConvAttribute {
table PadAttribute {
padding: [int32];
pad_const_int: int32;
- pad_const_fp: float;
+ pad_const_fp: [ubyte] (force_align: 8);
}
table AxisAttribute {
@@ -203,8 +203,8 @@ table ResizeAttribute {
table ClampAttribute {
min_int: int32;
max_int: int32;
- min_fp: float;
- max_fp: float;
+ min_fp: [ubyte] (force_align: 8);
+ max_fp: [ubyte] (force_align: 8);
}
table RescaleAttribute {