aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2022-10-21 16:39:01 -0700
committerEric Kunze <eric.kunze@arm.com>2023-01-04 21:32:22 +0000
commit497ab5d8cfce56eaa15db8853c903ef4dcf13e42 (patch)
treef1e203ce676c179c4053475d9fd5f2274151b0aa /schema
parent9d0c2339ba7b29dfdf90694820232b5927203006 (diff)
downloadserialization_lib-497ab5d8cfce56eaa15db8853c903ef4dcf13e42.tar.gz
Add attributes to serialization of custom op
Change-Id: I4a1d7675b247efcf34aadd59eac17b966e3705af Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs11
1 files changed, 9 insertions, 2 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index 4d5c611..093c235 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -1,5 +1,5 @@
-// Copyright (c) 2020-2021, ARM Limited.
+// Copyright (c) 2020-2023, ARM Limited.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -161,7 +161,8 @@ union Attribute {
TableAttribute,
MatMulAttribute,
FullyConnectedAttribute,
- NegateAttribute
+ NegateAttribute,
+ CustomAttribute
}
table PoolAttribute {
@@ -281,6 +282,12 @@ table NegateAttribute {
output_zp: int32;
}
+table CustomAttribute {
+ identifier:string;
+ config:string;
+ implementation_attrs:[ubyte];
+}
+
table Version {
_major: int32 = 0;
_minor: int32 = 51;