aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRickard Bolin <rickard.bolin@arm.com>2022-04-19 11:48:46 +0000
committerRickard Bolin <rickard.bolin@arm.com>2022-04-20 08:25:05 +0000
commit814d01f5a86b50a3a6b7e589db59047d0666b770 (patch)
tree1d896f24a95b358cb0ff07704f5b25c13fe1a249
parentcce7f2d9d049f532c53d4fda55f2a39ac410da99 (diff)
downloadethos-u-vela-814d01f5a86b50a3a6b7e589db59047d0666b770.tar.gz
MLBEDSW-6371: Output diff caused by operator clone bug
- Modify the operator clone function to also clone resampling mode attribute. A previous patch changed the ifm resampling mode to be an attribute of an operator rather than a tensor but did not modify the operator clone function to clone the new attribute. Signed-off-by: Rickard Bolin <rickard.bolin@arm.com> Change-Id: I7a2f6103666a0997f657de20ad962e849976b904
-rw-r--r--ethosu/vela/operation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py
index d5b92d8..845d70b 100644
--- a/ethosu/vela/operation.py
+++ b/ethosu/vela/operation.py
@@ -555,6 +555,7 @@ class Operation:
res.explicit_scaling = self.explicit_scaling
res.low_precision_scaling = self.low_precision_scaling
res.rescale = self.rescale
+ res.ifm_resampling_mode = self.ifm_resampling_mode
return res