diff options
author | Jacob Bohlin <jacob.bohlin@arm.com> | 2020-05-20 09:03:40 +0200 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2020-06-18 17:53:52 +0100 |
commit | cf7da10987cac3fc68cf180a9af665fe06d608fa (patch) | |
tree | 5467fe8b062e4e37a4e0dadc178a9716d233facc /ethosu/vela/operation.py | |
parent | 5b3dcd7323a5852bd188bb3929e7f38db3b52862 (diff) | |
download | ethos-u-vela-cf7da10987cac3fc68cf180a9af665fe06d608fa.tar.gz |
MLBEDSW-1716: Transpose Convolution support
Change-Id: Ie6d8d6de9f3447f19ba06aafa9fa480fc96a973b
Signed-off-by: Jacob Bohlin <jacob.bohlin@arm.com>
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r-- | ethosu/vela/operation.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index e8a03b7d..51311ef7 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -75,6 +75,9 @@ input and output tensors, as well as an attribute dictionary.""" if len(self.inputs) >= 3: bias_idx = 2 + elif self.type == "Conv2DBackpropInputSwitchedBias": + bias_idx = 3 + elif npu_block_type == NpuBlockType.Pooling: ifm_idx = 0 ofm_idx = 0 |