diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-08-17 15:57:34 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-08-19 14:22:26 -0700 |
commit | 52dd6bb66b2baadfdbaaa32dd94978951d304e04 (patch) | |
tree | 2b32b7dc124c2b963b2c7b13f5d1cb9d8a4f45a3 | |
parent | 58098a7b1ffcf41da759f862deb753c82fe5b4b0 (diff) | |
download | specification-52dd6bb66b2baadfdbaaa32dd94978951d304e04.tar.gz |
Change convolution weights to always dynamic
This changes the arguments for the convolution operators to
be inputs rather than attributes for all profiles.
Change-Id: I9d5fd1ae721271b881179765dc44e966208150da
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
-rw-r--r-- | tosa.xml | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -94,10 +94,10 @@ <argument category="input" name="input" type="in_t*" shape="[N,IH,IW,IC]"> <description>Input tensor</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="weight" type="weight_t*" shape="[OC,KH,KW,IC]"> + <argument category="input" name="weight" type="weight_t*" shape="[OC,KH,KW,IC]"> <description>Weight kernel size KH x KW</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="bias" type="out_t*" shape="[OC]"> + <argument category="input" name="bias" type="out_t*" shape="[OC]"> <description>Per output channel bias data.</description> </argument> <argument category="attribute" name="pad" type="int32_t*" shape="[4]"> @@ -150,10 +150,10 @@ <argument category="input" name="input" type="in_t*" shape="[N,ID,IH,IW,IC]"> <description>Input tensor</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="weight" type="weight_t*" shape="[OC,KD,KH,KW,IC]"> + <argument category="input" name="weight" type="weight_t*" shape="[OC,KD,KH,KW,IC]"> <description>Weight kernel size KDxKHxKW</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="bias" type="out_t*" shape="[OC]"> + <argument category="input" name="bias" type="out_t*" shape="[OC]"> <description>Per output channel bias data.</description> </argument> <argument category="attribute" name="pad" type="int32_t*" shape="[6]"> @@ -206,10 +206,10 @@ <argument category="input" name="input" type="in_t*" shape="[N,H,W,C]"> <description>Input tensor</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="weight" type="weight_t*" shape="[KH,KW,C,M]"> + <argument category="input" name="weight" type="weight_t*" shape="[KH,KW,C,M]"> <description>Weight kernel size KH x KW</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="bias" type="out_t*" shape="[C*M]"> + <argument category="input" name="bias" type="out_t*" shape="[C*M]"> <description>Per output channel bias data.</description> </argument> <argument category="attribute" name="pad" type="int32_t*" shape="[4]"> @@ -436,10 +436,10 @@ <argument category="input" name="input" type="in_t*" shape="[N,IH,IW,IC]"> <description>Input tensor</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="weight" type="weight_t*" shape="[OC,KH,KW,IC]"> + <argument category="input" name="weight" type="weight_t*" shape="[OC,KH,KW,IC]"> <description>Weight kernel size KH x KW</description> </argument> - <argument category="input(MT)|attribute(BI,MI)" name="bias" type="out_t*" shape="[OC]"> + <argument category="input" name="bias" type="out_t*" shape="[OC]"> <description>Per output channel bias data.</description> </argument> <argument category="attribute" name="out_pad" type="int32_t*" shape="[4]"> |