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
diff --git a/ethosu/vela/tensor.py b/ethosu/vela/tensor.py
index e981584..65473b8 100644
--- a/ethosu/vela/tensor.py
+++ b/ethosu/vela/tensor.py
@@ -600,7 +600,7 @@
1,
1,
1,
- [self.address_for_coordinate(start_coord, op_shape4D=op_shape4D), None, None, None],
+ [self.address_for_coordinate(start_coord, op_shape4D=op_shape4D), 0, 0, 0],
)
if self.is_standard_fm:
@@ -617,7 +617,7 @@
box_height0 = crossing_y - start_coord[1]
box_width = crossing_x - start_coord[2]
- addresses: List = [None] * 4
+ addresses: List = [0] * 4
addresses[0] = self.address_for_coordinate(start_coord, op_shape4D=op_shape4D)
if end_coord[2] > crossing_x: