From 837dc1bc42323fa723b72fe51919bc2f013e5a26 Mon Sep 17 00:00:00 2001 From: Michael McGeagh Date: Tue, 10 Nov 2020 12:38:25 +0000 Subject: MLBEDSW-3403 Generate supported op report A new CLI has been added that allows the generation of a report containing a summary table of all TFLite ops that can be placed on the NPU, and what the constraints are for that operator to be successfully scheduled on the NPU. This option will generate a new file, SUPPORTED_OPS.md containing this information, in the current working directory. Signed-off-by: Michael McGeagh Change-Id: I6a7e2a49f251b76b2ea1168fff78e00da1910b25 --- OPTIONS.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OPTIONS.md') diff --git a/OPTIONS.md b/OPTIONS.md index 9aaf67b7..7d123517 100644 --- a/OPTIONS.md +++ b/OPTIONS.md @@ -38,6 +38,19 @@ required Network argument. vela --version ``` +### Supported Operator Report + +Generate the SUPPORTED_OPS.md file in the current working directory and exits. +Contains a summary table of all TFLite operators that can be placed on the NPU, +and what the constraints are for that operator to be scheduled on the NPU. +If the constraints are not met, then it will be scheduled on the CPU instead. +**Type: N/A** +**Default: N/A** + +```bash +vela --supported-ops-report +``` + ### Output Directory Specifies the output directory of the optimised network model as well as the @@ -159,8 +172,8 @@ Limit the block config search space. This will result in faster compilation times but may impact the performance of the output network. Use 0 for unlimited search. **Type: Integer** -**Choices: >= 0** **Default: 16** +**Choices: >= 0** ```bash vela network.tflite --block-config-limit 0 -- cgit v1.2.1