From 81db8ee8f580d30ec0ca53067df32ef046e6f09e Mon Sep 17 00:00:00 2001 From: Tai Ly Date: Wed, 14 Feb 2024 19:57:38 +0000 Subject: [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 Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec --- python/tosa/Attribute.py | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'python/tosa/Attribute.py') 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 -- cgit v1.2.1