aboutsummaryrefslogtreecommitdiff
path: root/python/tosa/Attribute.py
diff options
context:
space:
mode:
authorTai Ly <tai.ly@arm.com>2024-02-14 19:57:38 +0000
committerTai Ly <tai.ly@arm.com>2024-02-22 16:23:03 +0000
commit81db8ee8f580d30ec0ca53067df32ef046e6f09e (patch)
tree138f423e8e7d2c84c699955b150a81b45ada90c1 /python/tosa/Attribute.py
parent61a8313f5a0cbcfc7c8ee8a44f05a5ca9b1015b9 (diff)
downloadserialization_lib-81db8ee8f580d30ec0ca53067df32ef046e6f09e.tar.gz
[serialization_lib] Align to Tosa Spec
removed attributes for Reshape, Slice and Tile Ops renamed field accum_dtype to acc_type, renamed then_branch/else_branch to then_graph/else_graph renamed cond_branch/body_branch to cond_graph/body_graph Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec
Diffstat (limited to 'python/tosa/Attribute.py')
-rw-r--r--python/tosa/Attribute.py33
1 files changed, 15 insertions, 18 deletions
diff --git a/python/tosa/Attribute.py b/python/tosa/Attribute.py
index 2589f71..6abdcfb 100644
--- a/python/tosa/Attribute.py
+++ b/python/tosa/Attribute.py
@@ -9,21 +9,18 @@ class Attribute(object):
TransposeConvAttribute = 3
PadAttribute = 4
AxisAttribute = 5
- ReshapeAttribute = 6
- SliceAttribute = 7
- TileAttribute = 8
- ResizeAttribute = 9
- ClampAttribute = 10
- RescaleAttribute = 11
- MulAttribute = 12
- ArithmeticRightShiftAttribute = 13
- CondIfAttribute = 14
- WhileLoopAttribute = 15
- TransposeAttribute = 16
- TableAttribute = 17
- MatMulAttribute = 18
- FullyConnectedAttribute = 19
- NegateAttribute = 20
- CustomAttribute = 21
- FFTAttribute = 22
- RFFTAttribute = 23
+ ResizeAttribute = 6
+ ClampAttribute = 7
+ RescaleAttribute = 8
+ MulAttribute = 9
+ ArithmeticRightShiftAttribute = 10
+ CondIfAttribute = 11
+ WhileLoopAttribute = 12
+ TransposeAttribute = 13
+ TableAttribute = 14
+ MatMulAttribute = 15
+ FullyConnectedAttribute = 16
+ NegateAttribute = 17
+ CustomAttribute = 18
+ FFTAttribute = 19
+ RFFTAttribute = 20