aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/operation.py
diff options
context:
space:
mode:
authorJohan Alfven <johan.alfven@arm.com>2023-05-25 11:18:50 +0200
committerJohan Alfven <johan.alfven@arm.com>2023-09-18 11:17:57 +0200
commit906c9e84d60de86f5b2584ae426bbc8e11932a03 (patch)
tree36ff5d1010105d1fb997252941f08835d51e2eac /ethosu/vela/operation.py
parentb4e804bb53aba48985abf3bf8466bc02310f60fc (diff)
downloadethos-u-vela-906c9e84d60de86f5b2584ae426bbc8e11932a03.tar.gz
MLBEDSW-8042: MLCE: Add SQUARED_DIFFERENCE support
- Added SQUARED_DIFFERENCE support - Updated SUPPORTED_OPS.md Change-Id: Id83d9d92129e645390c7979759dfdeff7a14c2ee Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r--ethosu/vela/operation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py
index 94d256c2..c9a30b21 100644
--- a/ethosu/vela/operation.py
+++ b/ethosu/vela/operation.py
@@ -286,7 +286,7 @@ class Op(Enum):
SplitV = OperatorInfo(indices=NNG_IFM_INDICES)
Sqrt = OperatorInfo()
Square = OperatorInfo()
- SquaredDifference = OperatorInfo()
+ SquaredDifference = OperatorInfo(block_type=NpuBlockType.ElementWise, indices=NNG_IFM_IFM2_INDICES)
Squeeze = OperatorInfo(indices=NNG_IFM_INDICES)
StridedSlice = OperatorInfo(indices=NNG_IFM_INDICES)
Sub = OperatorInfo(block_type=NpuBlockType.ElementWise, indices=NNG_IFM_IFM2_INDICES)