From 49b1ca63975d4f1865ca312ed9c9b5e0008e13e0 Mon Sep 17 00:00:00 2001 From: TatWai Chong Date: Fri, 10 Jun 2022 01:49:13 -0700 Subject: 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 Change-Id: I6d101a37d294dcf0a4d5bbb6c64bfa3c49a98f9e --- schema/tosa.fbs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'schema/tosa.fbs') 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; } -- cgit v1.2.1