From c15f7d52aa4f360eba2344449baa418b7608ac7c Mon Sep 17 00:00:00 2001 From: James Ward Date: Wed, 7 Dec 2022 15:38:01 +0000 Subject: 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 Change-Id: I417b0fabe0ef11fea263fe937b57d49bbfdb00da --- schema/tosa.fbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'schema') 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 { -- cgit v1.2.1