From e2bfa7ec7495591139e19f41397054a44a0348bc Mon Sep 17 00:00:00 2001 From: Patrik Gustavsson Date: Wed, 8 Sep 2021 15:04:11 +0200 Subject: TOSA: Add support for PAD Added support for TOSA PAD operator in line with legacy support Limitations: -Rank <= 4 -N = 1 if Rank = 4 for ifms/ofm -only padding in W and H dimensions -bool_t not supported Signed-off-by: Patrik Gustavsson Change-Id: I511608202b4c9bf6d86285b559c517fb41741fdf --- ethosu/vela/operation.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ethosu/vela/operation.py') diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index 681f4989..e9d364ea 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -592,6 +592,9 @@ class Operation: def get_ifm_ifm2_weights_ofm(self): return self.ifm, self.ifm2, self.weights, self.ofm + def get_ifm_ifm2_ofm(self): + return self.ifm, self.ifm2, self.ofm + def get_ifm_weights_biases_ofm(self): return self.ifm, self.weights, self.bias, self.ofm -- cgit v1.2.1