diff options
author | Rickard Bolin <rickard.bolin@arm.com> | 2022-06-09 13:07:17 +0000 |
---|---|---|
committer | Rickard Bolin <rickard.bolin@arm.com> | 2022-09-12 08:06:00 +0000 |
commit | 9ae34556663d09cc3dff19e53e68b57c8c940565 (patch) | |
tree | 51088224df14f66bd02afec67b933bd2ab192efd /ethosu/vela/operation.py | |
parent | 059166304f9ef47f0b916c1325700ed826f25581 (diff) | |
download | ethos-u-vela-9ae34556663d09cc3dff19e53e68b57c8c940565.tar.gz |
MLBEDSW-6613: Implement tile padding
Implement new padding mode which pads two edges of the IFM with the
current values of those edges
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Change-Id: I8523e0cabdac80b48710703859003e33050cc150
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r-- | ethosu/vela/operation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index 54e823a8..de68b1d7 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -394,6 +394,7 @@ class Padding(Enum): SAME = 0 VALID = 1 EXPLICIT = 2 # Padding is specified in a PAD operation (only used for NPU operations) + TILE = 3 # Uses hardware tiles to pad by 1 with edge values on two sides of the IFM specified in explicit_padding class ActivationFunction: |