From 442261bf67fa2ec4d86ed3e431a6373787b3e35a Mon Sep 17 00:00:00 2001 From: Jerry Ge Date: Fri, 9 Sep 2022 13:38:56 -0700 Subject: [Serialization_lib] Support StatefulOps for TOSA - Add variable in TosaTensor to schema file - Update TosaSerializationTensor regarding variable change - Rename internal zero_pad() and expose interface as ForceAlignTensorData() Signed-off-by: Jerry Ge Change-Id: I36fa64eb0802cb5b8d3564ea7233460ef8c9f539 --- schema/tosa.fbs | 1 + 1 file changed, 1 insertion(+) (limited to 'schema') diff --git a/schema/tosa.fbs b/schema/tosa.fbs index f101fa3..0943f11 100644 --- a/schema/tosa.fbs +++ b/schema/tosa.fbs @@ -281,6 +281,7 @@ table TosaTensor { shape:[int32]; // shape of the tensor type:DType; // data type of the tensor data: [ubyte] (force_align: 8); // raw data array if it's a constant tensor. + variable: bool; // is this a variable tensor } table TosaOperator { -- cgit v1.2.1