aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorJerry Ge <jerry.ge@arm.com>2022-10-04 20:32:39 -0700
committerJerry Ge <jerry.ge@arm.com>2022-12-15 23:23:20 +0000
commit13c78a67a6a3d743352f0b6e349c52bf36e84468 (patch)
tree11e2966816fded27b37618ce08cc03b7f4ef2fa2 /schema
parent6388a097de4350cc70472921c272074190fd7c93 (diff)
downloadserialization_lib-13c78a67a6a3d743352f0b6e349c52bf36e84468.tar.gz
[region] Add TosaSerializationRegion to serialization_lib
- Rationale: add this fix to support constants access between multiple blocks by another layer of abstraction called Region - Changes: - flatbuffers schema update, regenerate header files - add TosaSerializationRegion for the handler - other relevant fixes Signed-off-by: Jerry Ge <jerry.ge@arm.com> Change-Id: I4bb72503abfd629ae017d2f905184efbab244aa8
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs11
1 files changed, 8 insertions, 3 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index 4955139..4d5c611 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -297,7 +297,7 @@ table TosaTensor {
table TosaOperator {
op:Op; // operator enum
- attribute: Attribute; // union structure. operator attribute
+ attribute:Attribute; // union structure. operator attribute
inputs:[string]; // list of input tensor names
outputs:[string]; // list of output tensor names
}
@@ -310,9 +310,14 @@ table TosaBasicBlock {
outputs:[string]; // name of graph outputs
}
+table TosaRegion {
+ name:string; // name of region
+ blocks:[TosaBasicBlock]; // basic blocks array
+}
+
table TosaGraph {
- version: Version;
- blocks:[TosaBasicBlock]; // basic blocks array
+ version:Version;
+ regions:[TosaRegion]; // regions array
}
root_type TosaGraph;