aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorJerry Ge <jerry.ge@arm.com>2022-09-09 13:38:56 -0700
committerEric Kunze <eric.kunze@arm.com>2023-08-22 17:30:05 +0000
commit442261bf67fa2ec4d86ed3e431a6373787b3e35a (patch)
treed6a802db3c208cb9783cabe58d17aa1ffe12ee52 /schema
parent780ffb5f034a4fd6581a44cd9c3b1cf119f33589 (diff)
downloadserialization_lib-442261bf67fa2ec4d86ed3e431a6373787b3e35a.tar.gz
[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 <jerry.ge@arm.com> Change-Id: I36fa64eb0802cb5b8d3564ea7233460ef8c9f539
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs1
1 files changed, 1 insertions, 0 deletions
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 {