diff options
author | patrik.gustavsson <patrik.gustavsson@arm.com> | 2020-12-21 16:56:26 +0000 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2020-12-21 16:56:26 +0000 |
commit | df0a5905177f3a1b836076bc3f9f39b2e86f1794 (patch) | |
tree | b5151d0f12428e47d64b1fb2ce4f2f8c19304a0d /ethosu/vela/nn_graph.py | |
parent | bf31d647dc5df47410ee577b12427ddf076d816b (diff) | |
download | ethos-u-vela-df0a5905177f3a1b836076bc3f9f39b2e86f1794.tar.gz |
Revert "MLBEDSW-3645 4D class for op ifm/ofm shapes"
This reverts commit bf31d647dc5df47410ee577b12427ddf076d816b.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I7b6c585b7658f94dbaa916c2b6bfe9fb463b8d37
Diffstat (limited to 'ethosu/vela/nn_graph.py')
-rw-r--r-- | ethosu/vela/nn_graph.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ethosu/vela/nn_graph.py b/ethosu/vela/nn_graph.py index d2c848ad..67925176 100644 --- a/ethosu/vela/nn_graph.py +++ b/ethosu/vela/nn_graph.py @@ -21,10 +21,8 @@ # Subgraph - Holds a neural network subgraph, pointing at Tensors, Operations, Passes, and CascadedPasses. # Graph - A full neural network graph with one or more Subgraphs. import enum -from typing import List from .operation import Op -from .shape4d import Shape4D class PassPlacement(enum.Enum): @@ -60,8 +58,8 @@ class Pass: self.name = name self.cascade = None self.placement = placement - self.ifm_shapes: List[Shape4D] = [] - self.ofm_shapes: List[Shape4D] = [] + self.ifm_shapes = [] + self.ofm_shapes = [] # TODO: rename is_element_wise because it is not the same as an ElementWise operator. It is used by the tensor # allocation and requires that the OFM and IFM has the exact same address. Essentially complete overlap. |