diff options
author | Patrik Gustavsson <patrik.gustavsson@arm.com> | 2021-08-23 15:33:59 +0200 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2021-09-03 12:19:48 +0000 |
commit | df99510f04aef99d1b8e9be9bfcde8fc1738b65f (patch) | |
tree | 00668b0e74f95da5cc51a41b9340d8c88fbc7ffe /ethosu/vela/operation.py | |
parent | cce872bc3de3ed5f9bf1aa1a8cf9ce41cf2b2520 (diff) | |
download | ethos-u-vela-df99510f04aef99d1b8e9be9bfcde8fc1738b65f.tar.gz |
TOSA: Added Depthwise support
This is mainly to add support for depthwise conv2d
with dephmultiplier = 1.
(But there are no testcases suited, all I have sourced
has depth_multiplier set to 2, which is not supported.)
-Added support for depthwise conv2d.
-Added support for removing Transpose of constant data
-Added support for removing reshape
Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com>
Change-Id: I143e6246becfa78fd9f7510af0bf0d6b3fbbf2c7
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r-- | ethosu/vela/operation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index ca833e21..80be228b 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -283,7 +283,7 @@ class Op(Enum): Tanh = OperatorInfo(indices=NNG_IFM_INDICES) Tile = OperatorInfo() TopKV2 = OperatorInfo() - Transpose = OperatorInfo() + Transpose = OperatorInfo(indices=NNG_IFM_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() |