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 | #---------------------------------------------------------------------------- |
| 4 | # Copyright (c) 2022 Arm Limited. All rights reserved. |
| 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. |
| 35 | |
| 36 | build: |
| 37 | - name: "build-dir" |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 38 | options: "cmake -DCMSIS_PACK_GEN_FLOW=ON" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 39 | |
| 40 | packs: |
| 41 | - name: "ml-embedded-eval-kit-uc-api" |
| 42 | description: "Sample use case APIs derived from ml-embedded-eval-kit" |
| 43 | vendor: "ARM" |
Kshitij Sisodia | 9c6f9f8 | 2022-05-20 14:30:02 +0100 | [diff] [blame] | 44 | license: "LICENSE_APACHE_2.0.txt" |
Kshitij Sisodia | db7c518 | 2022-09-27 10:45:12 +0100 | [diff] [blame^] | 45 | url: "https://git.mlplatform.org/ml/ethos-u/ml-embedded-evaluation-kit.git/plain/resources/cmsis-packs/" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 46 | |
| 47 | requirements: |
| 48 | packages: |
Kshitij Sisodia | 8d03c19 | 2022-09-26 14:15:53 +0100 | [diff] [blame] | 49 | - attributes: {vendor: "tensorflow", name: "tensorflow-lite-micro", version: "1.22.5-rc4"} |
| 50 | - attributes: {vendor: "ARM", name: "CMSIS", version: "5.9.0"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 51 | |
| 52 | releases: |
Kshitij Sisodia | db7c518 | 2022-09-27 10:45:12 +0100 | [diff] [blame^] | 53 | - version: "22.8.0-Beta" |
| 54 | date: "2022-09-27" |
Kshitij Sisodia | 9c6f9f8 | 2022-05-20 14:30:02 +0100 | [diff] [blame] | 55 | description: "Beta release package" |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 56 | |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 57 | taxonomy: |
| 58 | - attributes: {Cclass: "Machine Learning"} |
| 59 | description: "Machine Learning software frameworks and libraries" |
| 60 | - attributes: {Cgroup: "Evaluation Kit"} |
| 61 | description: "A collection of end-to-end examples provided by Arm for Arm Cortex-M CPU and Arm Ethos-U NPU targets." |
| 62 | |
| 63 | components: |
| 64 | - name: log |
| 65 | target: log |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 66 | 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] | 67 | description: "Logging header-only utility" |
| 68 | |
| 69 | - name: arm_math |
| 70 | target: arm_math |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 71 | 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] | 72 | description: "Math function helpers dependent on CMSIS-DSP." |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 73 | conditions: |
| 74 | - require: { Cclass: "CMSIS", Cgroup: "DSP"} |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 75 | |
| 76 | - name: common_api |
| 77 | target: common_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 78 | 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] | 79 | description: "Common API" |
Kshitij Sisodia | 937052d | 2022-05-13 16:44:16 +0100 | [diff] [blame] | 80 | dependencies: ["arm_math", "log"] |
| 81 | conditions: |
| 82 | - require: { Cclass: "Machine Learning", Cgroup: "TensorFlow" } |
Kshitij Sisodia | eb9dfa7 | 2022-05-09 11:35:24 +0100 | [diff] [blame] | 83 | |
| 84 | - name: ad_api |
| 85 | target: ad_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 86 | 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] | 87 | description: "Anomaly detection use case API." |
| 88 | dependencies: common_api |
| 89 | |
| 90 | - name: asr_api |
| 91 | target: asr_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 92 | 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] | 93 | description: "ASR use case API." |
| 94 | dependencies: common_api |
| 95 | |
| 96 | - name: img_class_api |
| 97 | target: img_class_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 98 | 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] | 99 | description: "Image classification use case API." |
| 100 | dependencies: common_api |
| 101 | |
| 102 | - name: inference_runner_api |
| 103 | target: inference_runner_api |
Kshitij Sisodia | 8d03c19 | 2022-09-26 14:15:53 +0100 | [diff] [blame] | 104 | 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] | 105 | description: "Generic inference runner use case API." |
| 106 | dependencies: common_api |
| 107 | |
| 108 | - name: kws_api |
| 109 | target: kws_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 110 | 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] | 111 | description: "KWS use case API." |
| 112 | dependencies: common_api |
| 113 | |
| 114 | - name: noise_reduction_api |
| 115 | target: noise_reduction_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 116 | 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] | 117 | description: "RNN Noise use case API." |
| 118 | dependencies: common_api |
| 119 | |
| 120 | - name: object_detection_api |
| 121 | target: object_detection_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 122 | 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] | 123 | description: "Object detection use case API." |
| 124 | dependencies: common_api |
| 125 | |
| 126 | - name: vww_api |
| 127 | target: vww_api |
Nina Drozd | aea0a6d | 2022-08-04 17:51:05 +0100 | [diff] [blame] | 128 | 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] | 129 | description: "Visual wake word use case API." |
| 130 | dependencies: common_api |