blob: 4d23540eea6c3f9e839cbe2e0189851ee8b4a909 [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#----------------------------------------------------------------------------
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 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.
35
36build:
37 - name: "build-dir"
Kshitij Sisodia937052d2022-05-13 16:44:16 +010038 options: "cmake -DCMSIS_PACK_GEN_FLOW=ON"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010039
40packs:
41 - name: "ml-embedded-eval-kit-uc-api"
42 description: "Sample use case APIs derived from ml-embedded-eval-kit"
43 vendor: "ARM"
Kshitij Sisodia9c6f9f82022-05-20 14:30:02 +010044 license: "LICENSE_APACHE_2.0.txt"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010045 url: "https://review.mlplatform.org/admin/repos/ml/ethos-u/ml-embedded-evaluation-kit/"
46
47 requirements:
48 packages:
Kshitij Sisodia8d03c192022-09-26 14:15:53 +010049 - attributes: {vendor: "tensorflow", name: "tensorflow-lite-micro", version: "1.22.5-rc4"}
50 - attributes: {vendor: "ARM", name: "CMSIS", version: "5.9.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010051
52 releases:
Nina Drozdaea0a6d2022-08-04 17:51:05 +010053 - version: "22.8.0"
54 date: "2022-08-15"
Kshitij Sisodia9c6f9f82022-05-20 14:30:02 +010055 description: "Beta release package"
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010056
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010057 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 Drozdaea0a6d2022-08-04 17:51:05 +010066 attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Log", Cversion: "1.0.0" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010067 description: "Logging header-only utility"
68
69 - name: arm_math
70 target: arm_math
Nina Drozdaea0a6d2022-08-04 17:51:05 +010071 attributes: { Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "Math", Cversion: "1.0.0" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010072 description: "Math function helpers dependent on CMSIS-DSP."
Kshitij Sisodia937052d2022-05-13 16:44:16 +010073 conditions:
74 - require: { Cclass: "CMSIS", Cgroup: "DSP"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010075
76 - name: common_api
77 target: common_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010078 attributes: {Cclass: "ML Eval Kit", Cgroup: "Common", Csub: "API", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010079 description: "Common API"
Kshitij Sisodia937052d2022-05-13 16:44:16 +010080 dependencies: ["arm_math", "log"]
81 conditions:
82 - require: { Cclass: "Machine Learning", Cgroup: "TensorFlow" }
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010083
84 - name: ad_api
85 target: ad_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010086 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vibration", Csub: "Anomaly detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010087 description: "Anomaly detection use case API."
88 dependencies: common_api
89
90 - name: asr_api
91 target: asr_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010092 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Automatic speech recognition", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010093 description: "ASR use case API."
94 dependencies: common_api
95
96 - name: img_class_api
97 target: img_class_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +010098 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Image classification", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +010099 description: "Image classification use case API."
100 dependencies: common_api
101
102 - name: inference_runner_api
103 target: inference_runner_api
Kshitij Sisodia8d03c192022-09-26 14:15:53 +0100104 attributes: {Cclass: "ML Eval Kit", Cgroup: "Generic", Csub: "Inference runner", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100105 description: "Generic inference runner use case API."
106 dependencies: common_api
107
108 - name: kws_api
109 target: kws_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100110 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Keyword spotting", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100111 description: "KWS use case API."
112 dependencies: common_api
113
114 - name: noise_reduction_api
115 target: noise_reduction_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100116 attributes: {Cclass: "ML Eval Kit", Cgroup: "Voice", Csub: "Noise reduction", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100117 description: "RNN Noise use case API."
118 dependencies: common_api
119
120 - name: object_detection_api
121 target: object_detection_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100122 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Object detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100123 description: "Object detection use case API."
124 dependencies: common_api
125
126 - name: vww_api
127 target: vww_api
Nina Drozdaea0a6d2022-08-04 17:51:05 +0100128 attributes: {Cclass: "ML Eval Kit", Cgroup: "Vision", Csub: "Person detection", Cversion: "1.0.0"}
Kshitij Sisodiaeb9dfa72022-05-09 11:35:24 +0100129 description: "Visual wake word use case API."
130 dependencies: common_api