aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/shape4d.py
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2021-01-21 08:28:55 +0100
committerpatrik.gustavsson <patrik.gustavsson@arm.com>2021-01-28 09:09:58 +0000
commit3a26920b7cd302364d68830eb6e374311ce17f22 (patch)
tree359913c1fbfc443611865d628414182554b0710e /ethosu/vela/shape4d.py
parente22ba8cb3090886b2d80a2df0e599dbf4cd7f483 (diff)
downloadethos-u-vela-3a26920b7cd302364d68830eb6e374311ce17f22.tar.gz
MLBEDSW-3772 Reshape removal
-Removed reshapes in the original graph -Removed the addition of reshapes to the optimized graph -Reshapes with different ifm/ofm quantisation will remain Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: I94862be53dac0d7434815e2aee5ca678228495f8
Diffstat (limited to 'ethosu/vela/shape4d.py')
-rw-r--r--ethosu/vela/shape4d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethosu/vela/shape4d.py b/ethosu/vela/shape4d.py
index a1b4feaa..8981e20b 100644
--- a/ethosu/vela/shape4d.py
+++ b/ethosu/vela/shape4d.py
@@ -75,3 +75,6 @@ class Shape4D:
def as_list(self):
return list(self._shape4D)
+
+ def get_hw_as_list(self):
+ return list([self.height, self.width])