aboutsummaryrefslogtreecommitdiff
path: root/schema/tosa.fbs
diff options
context:
space:
mode:
authorTatWai Chong <tatwai.chong@arm.com>2022-06-10 01:49:13 -0700
committerTatWai Chong <tatwai.chong@arm.com>2022-08-03 22:08:06 +0000
commit49b1ca63975d4f1865ca312ed9c9b5e0008e13e0 (patch)
tree27a581a656a3c79d0250f4ca490c96aacbb8dfd6 /schema/tosa.fbs
parent4417b428061276a88c41825f2e46e2dce387dd0a (diff)
downloadserialization_lib-49b1ca63975d4f1865ca312ed9c9b5e0008e13e0.tar.gz
Update TOSA resize to match specification
Attribute stride and shift are removed, and has new scale and border. For serializing int16 attributes, add a new member vector container and a building function to do so. Signed-off-by: TatWai Chong <tatwai.chong@arm.com> Change-Id: I6d101a37d294dcf0a4d5bbb6c64bfa3c49a98f9e
Diffstat (limited to 'schema/tosa.fbs')
-rw-r--r--schema/tosa.fbs9
1 files changed, 3 insertions, 6 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index 57440ef..1cf6bbf 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -210,12 +210,9 @@ table TileAttribute {
}
table ResizeAttribute {
- output_size: [int32];
- stride: [int32];
- offset: [int32];
- shift: int32;
- stride_fp: [float];
- offset_fp: [float];
+ scale: [int16];
+ offset: [int16];
+ border: [int16];
mode: ResizeMode;
}