blob: 9620e17c3d0379d9bdbff45d50326a4189e0373e [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#
26# ml-embedded-eval-kit $ packgen -s ./source/ \ # Source dir
27# -v ./scripts/cmake/cmsis-pack-gen/use-case-api.yml \ # This file's path
28# -o <path-to>/ml-embedded-eval-kit-pack \ # Where to generate the ouput
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
36build:
37 - name: "build-dir"
38 options: "cmake"
39
40packs:
41 - name: "ml-embedded-eval-kit-uc-api"
42 description: "Sample use case APIs derived from ml-embedded-eval-kit"
43 vendor: "ARM"
44 license: ""
45 url: "https://review.mlplatform.org/admin/repos/ml/ethos-u/ml-embedded-evaluation-kit/"
46
47 requirements:
48 packages:
49 - attributes: {vendor: "tensorflow", name: "tensorflow-lite-micro", version: "0.4.0"}
50 - attributes: {vendor: "ARM", name: "CMSIS", version: "5.9.0"}
51
52 releases:
53 - version: "22.05.0"
54 date: "2022-05-04"
55 description: "Experimental package"
56
57# @TODO: Add API header names and descriptions here (see placeholder below).
58# apis:
59# - name: "Image classification use case API"
60# attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Capiversion: "1.0.0"}
61# description: "Arm ml-embedded-eval kit example APIs"
62# files:
63# - name: "use_case/img_class/include/ImgClassProcessing.hpp"
64# attributes: {category: header, attr: config, version: "1.0.0"}
65
66 taxonomy:
67 - attributes: {Cclass: "Machine Learning"}
68 description: "Machine Learning software frameworks and libraries"
69 - attributes: {Cgroup: "Evaluation Kit"}
70 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
75 attributes: { Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Common: Log", Cversion: "1.0.0" }
76 description: "Logging header-only utility"
77
78 - name: arm_math
79 target: arm_math
80 attributes: { Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Common: Math", Cversion: "1.0.0" }
81 description: "Math function helpers dependent on CMSIS-DSP."
82
83 - name: common_api
84 target: common_api
85 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Common: API", Cversion: "1.0.0"}
86 description: "Common API"
87
88 - name: ad_api
89 target: ad_api
90 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Vibration: Anomaly detection", Cversion: "1.0.0"}
91 description: "Anomaly detection use case API."
92 dependencies: common_api
93
94 - name: asr_api
95 target: asr_api
96 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Voice: Automatic speech recognition", Cversion: "1.0.0"}
97 description: "ASR use case API."
98 dependencies: common_api
99
100 - name: img_class_api
101 target: img_class_api
102 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Vision: Image classification", Cversion: "1.0.0"}
103 description: "Image classification use case API."
104 dependencies: common_api
105
106 - name: inference_runner_api
107 target: inference_runner_api
108 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Generic", Cversion: "1.0.0"}
109 description: "Generic inference runner use case API."
110 dependencies: common_api
111
112 - name: kws_api
113 target: kws_api
114 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Voice: Keyword spotting", Cversion: "1.0.0"}
115 description: "KWS use case API."
116 dependencies: common_api
117
118 - name: noise_reduction_api
119 target: noise_reduction_api
120 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Voice: Noise reduction", Cversion: "1.0.0"}
121 description: "RNN Noise use case API."
122 dependencies: common_api
123
124 - name: object_detection_api
125 target: object_detection_api
126 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Vision: Object detection", Cversion: "1.0.0"}
127 description: "Object detection use case API."
128 dependencies: common_api
129
130 - name: vww_api
131 target: vww_api
132 attributes: {Cclass: "Machine Learning", Cgroup: "Evaluation Kit", Csub: "Vision: Person detection", Cversion: "1.0.0"}
133 description: "Visual wake word use case API."
134 dependencies: common_api