aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/operation.py
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2021-09-08 11:14:20 +0100
committerpatrik.gustavsson <patrik.gustavsson@arm.com>2021-10-14 05:30:58 +0000
commit6bf1613c5894d81849dd12b5be6145c1f24caca2 (patch)
tree5c46ae4c43b71403898eb5fa5f2ecab2fd16a90f /ethosu/vela/operation.py
parent7c0607e142456ebd3577c756b419a3b551cdeafb (diff)
downloadethos-u-vela-6bf1613c5894d81849dd12b5be6145c1f24caca2.tar.gz
MLBEDSW-5162 MLCE: Vela [3.1.0] falling to run with yolov4_int8.tflite
* fix indices for tflite mapping of EXP operator * fix indices for tflite mapping of Transpose operator * ensure read offset after slice is aligned to 16 bytes for NHCWB16 or force linear format * add unit test to ensure mapping of indices is consistent across TFLite, TOSA and NNG Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I17b6e44bc06853325d5eea62a558418ee1ebefe8
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 1e733d56..1707d318 100644
--- a/ethosu/vela/operation.py
+++ b/ethosu/vela/operation.py
@@ -285,7 +285,7 @@ class Op(Enum):
Tanh = OperatorInfo(indices=NNG_IFM_INDICES)
Tile = OperatorInfo()
TopKV2 = OperatorInfo()
- Transpose = OperatorInfo(indices=NNG_IFM_INDICES)
+ Transpose = OperatorInfo(indices=NNG_IFM_IFM2_INDICES)
UnidirectionalSequenceLstm = OperatorInfo(block_type=NpuBlockType.VectorProduct, indices=NNG_IFM_WEIGHTS_INDICES)
UnidirectionalSequenceRnn = OperatorInfo(block_type=NpuBlockType.VectorProduct, indices=NNG_IFM_WEIGHTS_INDICES)
Unique = OperatorInfo()