diff options
author | Tim Hall <tim.hall@arm.com> | 2021-12-16 13:17:29 +0000 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2021-12-16 18:31:52 +0000 |
commit | 3751aa415849e37fb3288d9d5db9ce9b682f8d14 (patch) | |
tree | 3d539888306a49f27713db1dd28be82fe6c6c1f7 /ethosu/vela/graph_optimiser_util.py | |
parent | 7d7cb671f369fd6ffdbddd12f1e29b6503df2c4d (diff) | |
download | ethos-u-vela-3751aa415849e37fb3288d9d5db9ce9b682f8d14.tar.gz |
MLBEDSW-5629: MLCE: Model falling when creating explicit_padding
- Issue was due to a previous patch to fix MLBEDSW-4350
- Manually reverted that fix 5fabfcaa2b636b02899b4d6e0ccf95d853986475
- Made a new fix for MLBEDSW-4350 that calculates the padding and
skirt by taking into account the split read offsets and shapes
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I96010c1b977011aecbc411a3c91ab3e61af22db4
Diffstat (limited to 'ethosu/vela/graph_optimiser_util.py')
-rw-r--r-- | ethosu/vela/graph_optimiser_util.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ethosu/vela/graph_optimiser_util.py b/ethosu/vela/graph_optimiser_util.py index 3e15f126..57fd7dbf 100644 --- a/ethosu/vela/graph_optimiser_util.py +++ b/ethosu/vela/graph_optimiser_util.py @@ -235,10 +235,6 @@ def move_splitsliceread_to_consumer(op, cons_op): cons_op.set_input_tensor(op.ifm, cons_op.type.info.indices.ifms[1]) cons_op.ifm_shapes[1] = op.ifm_shapes[0] - if "skirt" in cons_op.attrs: - assert cons_op.attrs["explicit_padding"] == cons_op.attrs["skirt"] - cons_op.attrs["skirt"] = None - cons_op.attrs["force_padding"] = True op.ofm.consumer_list.remove(cons_op) op.ofm.ops = [] op.ifm.consumer_list.remove(op) |