blob: c52656618526087e0ac77a0a0dec612e2c0ce7bb [file] [log] [blame]
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +01001# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/main/tools/packgen/schema/manifest.schema.json
2
3#----------------------------------------------------------------------------
Isabella Gottardi1f24b262023-03-23 23:15:35 +00004# SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +01005# 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 Sisodia9c6f9f82022-05-20 14:30:02 +010026# ml-embedded-eval-kit $ packgen -s ./ \ # Source dir (run this from repo root)
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010027# -v ./scripts/cmake/cmsis-pack-gen/use-case-api.yml \ # This file's path
Kshitij Sisodia1ec169b2022-06-01 09:06:21 +010028# -o <path-to>/ml-embedded-eval-kit-pack \ # Where to generate the output
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010029# -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 Sisodia7ac0a3a2022-11-09 14:12:08 +000035#
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 Sisodiaeb9dfa72022-05-09 11:35:24 +010038build:
39 - name: "build-dir"
Kshitij Sisodia937052d2022-05-13 16:44:16 +010040 options: "cmake -DCMSIS_PACK_GEN_FLOW=ON"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010041
42packs:
43 - name: "ml-embedded-eval-kit-uc-api"
Kshitij Sisodia8b0455c2022-10-03 09:22:56 +010044 description: "ML sample use case APIs derived from ml-embedded-eval-kit"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010045 vendor: "ARM"
Kshitij Sisodia9c6f9f82022-05-20 14:30:02 +010046 license: "LICENSE_APACHE_2.0.txt"
Kshitij Sisodia9b835c72022-10-12 14:31:57 +010047 url: "https://git.mlplatform.org/ml/ethos-u/ml-embedded-evaluation-kit.git/plain/source/application/api/use_case/readme.md"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010048
49 requirements:
50 packages:
Isabella Gottardi1f24b262023-03-23 23:15:35 +000051 - attributes: {vendor: "tensorflow", name: "tensorflow-lite-micro", version: "1.22.8"}
Kshitij Sisodia8d03c192022-09-26 14:15:53 +010052 - attributes: {vendor: "ARM", name: "CMSIS", version: "5.9.0"}
Isabella Gottardi1f24b262023-03-23 23:15:35 +000053 - attributes: {vendor: "ARM", name: "CMSIS-DSP", version: "1.14.4"}
54 - attributes: {vendor: "ARM", name: "CMSIS-NN", version: "4.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010055
56 releases:
Isabella Gottardi1f24b262023-03-23 23:15:35 +000057 - version: "23.2.0"
58 date: "2023-03-23"
59 description: "23.02.0 release package"
Kshitij Sisodia7ac0a3a2022-11-09 14:12:08 +000060 - version: "22.11.0"
61 date: "2022-11-09"
62 description: "22.11.0 release package"
Kshitij Sisodiadb7c5182022-09-27 10:45:12 +010063 - version: "22.8.0-Beta"
Kshitij Sisodia8b0455c2022-10-03 09:22:56 +010064 date: "2022-09-29"
Kshitij Sisodia9c6f9f82022-05-20 14:30:02 +010065 description: "Beta release package"
Kshitij Sisodia7ac0a3a2022-11-09 14:12:08 +000066 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 Sisodiaeb9dfa72022-05-09 11:35:24 +010067
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010068 taxonomy:
Kshitij Sisodia8b0455c2022-10-03 09:22:56 +010069 - 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 Sisodiaeb9dfa72022-05-09 11:35:24 +010070 description: "A collection of end-to-end examples provided by Arm for Arm Cortex-M CPU and Arm Ethos-U NPU targets."
71
72 components:
73 - name: log
74 target: log
Nina Drozdaea0a6d2022-08-04 17:51:05 +010075 attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Log", Cversion: "1.0.0" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010076 description: "Logging header-only utility"
Kshitij Sisodia8b0455c2022-10-03 09:22:56 +010077 files:
78 - name: "source/log/include/"
79 attributes: {category: include}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010080
81 - name: arm_math
82 target: arm_math
Nina Drozdaea0a6d2022-08-04 17:51:05 +010083 attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Math", Cversion: "1.0.0" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010084 description: "Math function helpers dependent on CMSIS-DSP."
Kshitij Sisodia937052d2022-05-13 16:44:16 +010085 conditions:
86 - require: { Cclass: "CMSIS", Cgroup: "DSP"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010087
88 - name: common_api
89 target: common_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010090 attributes: {Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "API", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010091 description: "Common API"
Kshitij Sisodia937052d2022-05-13 16:44:16 +010092 dependencies: ["arm_math", "log"]
93 conditions:
94 - require: { Cclass: "Machine Learning", Cgroup: "TensorFlow" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010095
96 - name: ad_api
97 target: ad_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010098 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vibration", Csub: "Anomaly detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010099 description: "Anomaly detection use case API."
100 dependencies: common_api
101
102 - name: asr_api
103 target: asr_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100104 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Automatic speech recognition", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100105 description: "ASR use case API."
106 dependencies: common_api
107
108 - name: img_class_api
109 target: img_class_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100110 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Image classification", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100111 description: "Image classification use case API."
112 dependencies: common_api
113
114 - name: inference_runner_api
115 target: inference_runner_api
Kshitij Sisodia8d03c192022-09-26 14:15:53 +0100116 attributes: {Cclass: "ML Eval Kit", Cgroup: "Generic", Csub: "Inference runner", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100117 description: "Generic inference runner use case API."
118 dependencies: common_api
119
120 - name: kws_api
121 target: kws_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100122 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Keyword spotting", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100123 description: "KWS use case API."
124 dependencies: common_api
125
126 - name: noise_reduction_api
127 target: noise_reduction_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100128 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Noise reduction", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100129 description: "RNN Noise use case API."
130 dependencies: common_api
131
132 - name: object_detection_api
133 target: object_detection_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100134 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Object detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100135 description: "Object detection use case API."
136 dependencies: common_api
137
138 - name: vww_api
139 target: vww_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100140 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Person detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100141 description: "Visual wake word use case API."
142 dependencies: common_api