aboutsummaryrefslogtreecommitdiff
path: root/SUPPORTED_OPS.md
diff options
context:
space:
mode:
authorJohan Alfven <johan.alfven@arm.com>2023-06-15 09:24:01 +0200
committerJohan Alfven <johan.alfven@arm.com>2023-06-16 16:01:05 +0200
commit85b77901b72865cc0071f294bd9177288c0bc4e3 (patch)
tree5bc2e96bc4521f2c1e8e33201d181cb5ec796caa /SUPPORTED_OPS.md
parent3e7157ba59f12aa0d277a9b3a7cb3f8a19267338 (diff)
downloadethos-u-vela-85b77901b72865cc0071f294bd9177288c0bc4e3.tar.gz
MLBEDSW-7709: MLCE: Crash when rewriting split op
- A crash occurred due to NoneType subscriptable error when rewriting a Slice op. The reason was that the Size tensor did not contain any data. - Added constraint pushing the Slice operator to the CPU if begin or size tensor are empty. - Added test to supported operators - Updated SUPPORTED_OPS.md Change-Id: Ide204cae24e5871f0e6ae1fdc98ac68d0ce4d3ae Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'SUPPORTED_OPS.md')
-rw-r--r--SUPPORTED_OPS.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/SUPPORTED_OPS.md b/SUPPORTED_OPS.md
index fdceb43c..5258946c 100644
--- a/SUPPORTED_OPS.md
+++ b/SUPPORTED_OPS.md
@@ -19,7 +19,7 @@ limitations under the License.
# Supported Ops
This file was automatically generated by Vela using the `--supported-ops-report` parameter.
-Vela version: `3.8.1.dev3+gc66541d`
+Vela version: `3.8.1.dev7+g0f09dd2`
This file complies with
[**Gitiles Markdown syntax**](https://github.com/google/gitiles/blob/master/Documentation/markdown.md)
@@ -66,7 +66,7 @@ Please check the supported operator list for your chosen runtime for further inf
| RESIZE_NEAREST_NEIGHBOR | [Generic](#tflite-generic-constraints), [Specific](#tflite-resize_nearest_neighbor-constraints) |
| RSQRT | [Generic](#tflite-generic-constraints), [Specific](#tflite-rsqrt-constraints) |
| SHAPE | [Generic](#tflite-generic-constraints) |
-| SLICE | [Generic](#tflite-generic-constraints) |
+| SLICE | [Generic](#tflite-generic-constraints), [Specific](#tflite-slice-constraints) |
| SOFTMAX | [Generic](#tflite-generic-constraints), [Specific](#tflite-softmax-constraints) |
| SPLIT | [Generic](#tflite-generic-constraints), [Specific](#tflite-split-constraints) |
| SPLIT_V | [Generic](#tflite-generic-constraints), [Specific](#tflite-split_v-constraints) |
@@ -328,6 +328,12 @@ This is a list of constraints that the RSQRT operator must satisfy in order to b
- IFM and OFM data types must match
- IFM must be int8
+### TFLite SLICE Constraints
+
+This is a list of constraints that the SLICE operator must satisfy in order to be scheduled on the NPU.
+
+- Begin and Size Input tensors must be constant
+
### TFLite SOFTMAX Constraints
This is a list of constraints that the SOFTMAX operator must satisfy in order to be scheduled on the NPU.