aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/data_type.py
diff options
context:
space:
mode:
authorRaul Farkas <raul.farkas@arm.com>2023-05-16 17:18:31 +0100
committerFredrik Svedberg <fredrik.svedberg@arm.com>2023-06-16 12:25:03 +0000
commit3b64f068db4ea8e954a1b472de169dd423b8c049 (patch)
treecbd0c98da22bb62473daf08fdb6b53209ef6d971 /ethosu/vela/data_type.py
parent5d24821355ea5c3af1d069fd50864c5f2f0effd3 (diff)
downloadethos-u-vela-3b64f068db4ea8e954a1b472de169dd423b8c049.tar.gz
MLBEDSW-7648: Fix bug with filter padding in conv2d
* Fix bug that caused filter padding to not be added proportionally compared to the hardware padding added to IFM. * Update needed_total_padding function that calculates hardware padding to also account for the cases in which IFM width is not divisible by the stride width. * Update supported ops constraint on strides for conv2d to mark ops with stride width > 3 and IFM width that is not divisible by the optimization resize factor as not supported. * Update unit tests that verify correct functionality when checking whether ops are supported or not. Change-Id: I62f14cca890b779ca787a9603fa37c873ad522f8 Signed-off-by: Raul Farkas <raul.farkas@arm.com>
Diffstat (limited to 'ethosu/vela/data_type.py')
0 files changed, 0 insertions, 0 deletions