From 814d01f5a86b50a3a6b7e589db59047d0666b770 Mon Sep 17 00:00:00 2001 From: Rickard Bolin Date: Tue, 19 Apr 2022 11:48:46 +0000 Subject: 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 Change-Id: I7a2f6103666a0997f657de20ad962e849976b904 --- ethosu/vela/operation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index d5b92d8d..845d70b5 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 -- cgit v1.2.1