Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/main/tools/packgen/schema/manifest.schema.json |
| 2 | |
| 3 | #---------------------------------------------------------------------------- |
Richard Burton | f32a86a | 2022-11-15 11:46:11 +0000 | [diff] [blame^] | 4 | # SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com> |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | # |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | #---------------------------------------------------------------------------- |
| 19 | |
| 20 | # YML file to help generate a CMSIS pack for ml-embedded-eval-kit API. |
| 21 | # See the CMakeLists.txt in the same directory to see the targets that |
| 22 | # are included in the pack. |
| 23 | # |
| 24 | # Ideal usage: from the root of the repository |
| 25 | # |
Kshitij Sisodia | 9c6f9f8 | 2022-05-20 14:30:02 +0100 | [diff] [blame] | 26 | # ml-embedded-eval-kit $ packgen -s ./ \ # Source dir (run this from repo root) |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 27 | # -v ./scripts/cmake/cmsis-pack-gen/use-case-api.yml \ # This file's path |
Kshitij Sisodia | 1ec169b | 2022-06-01 09:06:21 +0100 | [diff] [blame] | 28 | # -o <path-to>/ml-embedded-eval-kit-pack \ # Where to generate the output |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 29 | # -i <path-to>/tensorflow.tensorflow-lite-micro.pdsc \ # Tensorflow packs' PDSC file |
| 30 | # -i <path-to>/ARM.CMSIS.pdsc \ # CMSIS packs' PDSC file |
| 31 | # |
| 32 | # The PDSC files are the ones extracted from the downloaded packs (and is optional). |
| 33 | # packgen and packchk must be installed. See https://github.com/Open-CMSIS-Pack/devtools |
| 34 | # on how to build these tools. |
Kshitij Sisodia | 7ac0a3a | 2022-11-09 14:12:08 +0000 | [diff] [blame] | 35 | # |
| 36 | # yaml-language-server: $schema=https://github.com/Open-CMSIS-Pack/devtools/blob/tools/toolbox/1.0.0/tools/packgen/schema/manifest.schema.json |
| 37 | # |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 38 | build: |
| 39 | - name: "build-dir" |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 40 | options: "cmake -DCMSIS_PACK_GEN_FLOW=ON" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 41 | |
| 42 | packs: |
| 43 | - name: "ml-embedded-eval-kit-uc-api" |
Kshitij Sisodia | 8b0455c | 2022-10-03 09:22:56 +0100 | [diff] [blame] | 44 | description: "ML sample use case APIs derived from ml-embedded-eval-kit" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 45 | vendor: "ARM" |
Kshitij Sisodia | 9c6f9f8 | 2022-05-20 14:30:02 +0100 | [diff] [blame] | 46 | license: "LICENSE_APACHE_2.0.txt" |
Kshitij Sisodia | 9b835c7 | 2022-10-12 14:31:57 +0100 | [diff] [blame] | 47 | url: "https://git.mlplatform.org/ml/ethos-u/ml-embedded-evaluation-kit.git/plain/source/application/api/use_case/readme.md" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 48 | |
| 49 | requirements: |
| 50 | packages: |
Kshitij Sisodia | 8d03c19 | 2022-09-26 14:15:53 +0100 | [diff] [blame] | 51 | - attributes: {vendor: "tensorflow", name: "tensorflow-lite-micro", version: "1.22.5-rc4"} |
| 52 | - attributes: {vendor: "ARM", name: "CMSIS", version: "5.9.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 53 | |
| 54 | releases: |
Kshitij Sisodia | 7ac0a3a | 2022-11-09 14:12:08 +0000 | [diff] [blame] | 55 | - version: "22.11.0" |
| 56 | date: "2022-11-09" |
| 57 | description: "22.11.0 release package" |
Kshitij Sisodia | db7c518 | 2022-09-27 10:45:12 +0100 | [diff] [blame] | 58 | - version: "22.8.0-Beta" |
Kshitij Sisodia | 8b0455c | 2022-10-03 09:22:56 +0100 | [diff] [blame] | 59 | date: "2022-09-29" |
Kshitij Sisodia | 9c6f9f8 | 2022-05-20 14:30:02 +0100 | [diff] [blame] | 60 | description: "Beta release package" |
Kshitij Sisodia | 7ac0a3a | 2022-11-09 14:12:08 +0000 | [diff] [blame] | 61 | url: "https://git.mlplatform.org/ml/ethos-u/ml-embedded-evaluation-kit.git/plain/resources/cmsis-packs/ARM.ml-embedded-eval-kit-uc-api.22.8.0-Beta.pack?h=refs/heads/main" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 62 | |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 63 | taxonomy: |
Kshitij Sisodia | 8b0455c | 2022-10-03 09:22:56 +0100 | [diff] [blame] | 64 | - attributes: {Cclass: "ML Eval Kit", doc: "https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ml-embedded-evaluation-kit/+/refs/heads/main/Readme.md"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 65 | description: "A collection of end-to-end examples provided by Arm for Arm Cortex-M CPU and Arm Ethos-U NPU targets." |
| 66 | |
| 67 | components: |
| 68 | - name: log |
| 69 | target: log |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 70 | attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Log", Cversion: "1.0.0" } |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 71 | description: "Logging header-only utility" |
Kshitij Sisodia | 8b0455c | 2022-10-03 09:22:56 +0100 | [diff] [blame] | 72 | files: |
| 73 | - name: "source/log/include/" |
| 74 | attributes: {category: include} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 75 | |
| 76 | - name: arm_math |
| 77 | target: arm_math |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 78 | attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Math", Cversion: "1.0.0" } |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 79 | description: "Math function helpers dependent on CMSIS-DSP." |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 80 | conditions: |
| 81 | - require: { Cclass: "CMSIS", Cgroup: "DSP"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 82 | |
| 83 | - name: common_api |
| 84 | target: common_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 85 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "API", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 86 | description: "Common API" |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 87 | dependencies: ["arm_math", "log"] |
| 88 | conditions: |
| 89 | - require: { Cclass: "Machine Learning", Cgroup: "TensorFlow" } |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 90 | |
| 91 | - name: ad_api |
| 92 | target: ad_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 93 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Vibration", Csub: "Anomaly detection", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 94 | description: "Anomaly detection use case API." |
| 95 | dependencies: common_api |
| 96 | |
| 97 | - name: asr_api |
| 98 | target: asr_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 99 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Automatic speech recognition", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 100 | description: "ASR use case API." |
| 101 | dependencies: common_api |
| 102 | |
| 103 | - name: img_class_api |
| 104 | target: img_class_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 105 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Image classification", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 106 | description: "Image classification use case API." |
| 107 | dependencies: common_api |
| 108 | |
| 109 | - name: inference_runner_api |
| 110 | target: inference_runner_api |
Kshitij Sisodia | 8d03c19 | 2022-09-26 14:15:53 +0100 | [diff] [blame] | 111 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Generic", Csub: "Inference runner", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 112 | description: "Generic inference runner use case API." |
| 113 | dependencies: common_api |
| 114 | |
| 115 | - name: kws_api |
| 116 | target: kws_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 117 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Keyword spotting", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 118 | description: "KWS use case API." |
| 119 | dependencies: common_api |
| 120 | |
| 121 | - name: noise_reduction_api |
| 122 | target: noise_reduction_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 123 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Noise reduction", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 124 | description: "RNN Noise use case API." |
| 125 | dependencies: common_api |
| 126 | |
| 127 | - name: object_detection_api |
| 128 | target: object_detection_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 129 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Object detection", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 130 | description: "Object detection use case API." |
| 131 | dependencies: common_api |
| 132 | |
| 133 | - name: vww_api |
| 134 | target: vww_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 135 | attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Person detection", Cversion: "1.0.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 136 | description: "Visual wake word use case API." |
| 137 | dependencies: common_api |