From 50256e168c3e759f03445bb872d0a43da1a6ba30 Mon Sep 17 00:00:00 2001 From: Suraj Sudhir Date: Thu, 14 Mar 2024 23:44:54 +0000 Subject: Remove TRANSPOSE_CONV2D out_shape argument Change-Id: I1a52c596ea225355fe505f783d875a01023ff63e --- python/serializer/tosa_serializer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/serializer') diff --git a/python/serializer/tosa_serializer.py b/python/serializer/tosa_serializer.py index bbfb37e..be3cdea 100644 --- a/python/serializer/tosa_serializer.py +++ b/python/serializer/tosa_serializer.py @@ -190,7 +190,7 @@ class TosaSerializerAttribute(TosaSerializerUnion): self.ints.append((a.AddAccType, acc_type)) def TransposeConvAttribute( - self, outpad, stride, output_shape, input_zp, weight_zp, local_bound, acc_type + self, outpad, stride, input_zp, weight_zp, local_bound, acc_type ): from tosa import TransposeConvAttribute as a, Attribute @@ -199,7 +199,6 @@ class TosaSerializerAttribute(TosaSerializerUnion): self.intvecs.append((a.AddOutPad, outpad)) self.intvecs.append((a.AddStride, stride)) - self.intvecs.append((a.AddOutputShape, output_shape)) self.ints.append((a.AddInputZp, input_zp)) self.ints.append((a.AddWeightZp, weight_zp)) self.bools.append((a.AddLocalBound, local_bound)) -- cgit v1.2.1