diff options
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r-- | ethosu/vela/operation.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index b4d0e48a..05c236a5 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -596,6 +596,10 @@ class Operation: def original_type(self): return self._original_type + @property + def type_changed(self): + return self.type != self.original_type + def get_kernel_size(self): weights = self.weights if weights and self.type.npu_block_type in (NpuBlockType.ConvolutionDepthWise, NpuBlockType.ConvolutionMxN): |