summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoo Chang Kim <wchang.kim@samsung.com>2020-08-27 03:46:12 +0000
committerGerrit Code Review <gerrit@review>2020-08-27 03:46:12 +0000
commitc77fa18ea61dbd88f5e25d4b272617882c46eba3 (patch)
treede69eed6e466e68d5686fdca1a771ce5c6f0c203
parente77dfc3c76cbe688ec6c2b65835a5d25021c06b9 (diff)
parentac792b95258d592a9368c97afd4e0078b9be7849 (diff)
downloadbuilding-blocks-c77fa18ea61dbd88f5e25d4b272617882c46eba3.tar.gz
building-blocks-c77fa18ea61dbd88f5e25d4b272617882c46eba3.tar.bz2
building-blocks-c77fa18ea61dbd88f5e25d4b272617882c46eba3.zip
Merge "[TRE-2540] Add nntrainer to iot platform image" into tizen
-rw-r--r--mapping-bb-rs.xml3
-rw-r--r--mapping-bb-tct.xml4
-rw-r--r--packaging/domain-apis-machinelearning.inc13
-rw-r--r--packaging/platform-preset-iot.inc1
4 files changed, 21 insertions, 0 deletions
diff --git a/mapping-bb-rs.xml b/mapping-bb-rs.xml
index 5d8a113..615d3c5 100644
--- a/mapping-bb-rs.xml
+++ b/mapping-bb-rs.xml
@@ -527,4 +527,7 @@
<buildingblock name="building-blocks-sub1-domain_Feature-Smartthings_App" abb_id="141">
<rs_info>smartthings-rs.xml</rs_info>
</buildingblock>
+ <buildingblock name="building-blocks-sub2-domain_API-MachineLearning-NNTrainer" abb_id="142">
+ <rs_info>capi-machine-learning-training-rs.xml</rs_info>
+ </buildingblock>
</MappingInfo>
diff --git a/mapping-bb-tct.xml b/mapping-bb-tct.xml
index 3665c07..472fc08 100644
--- a/mapping-bb-tct.xml
+++ b/mapping-bb-tct.xml
@@ -228,6 +228,10 @@
<tct_info>tct-nnstreamer-native-itc</tct_info>
<tct_info>tct-nnstreamer-native-utc</tct_info>
</bb_info>
+ <bb_info name="building-blocks-sub2-domain_API-MachineLearning-NNTrainer">
+ <tct_info>tct-nntrainer-native-itc</tct_info>
+ <tct_info>tct-nntrainer-native-utc</tct_info>
+ </bb_info>
<bb_info name="building-blocks-sub2-domain_API-Multimedia-Camera">
<tct_info>tct-camera-native-ctc</tct_info>
<tct_info>tct-camera-native-itc</tct_info>
diff --git a/packaging/domain-apis-machinelearning.inc b/packaging/domain-apis-machinelearning.inc
index 1fef90e..d5d5805 100644
--- a/packaging/domain-apis-machinelearning.inc
+++ b/packaging/domain-apis-machinelearning.inc
@@ -4,6 +4,7 @@
%package sub1-domain_API-MachineLearning
Summary: Machine Learning API Group
Requires: %{name}-sub2-domain_API-MachineLearning-NNStreamer
+Suggests: %{name}-sub2-domain_API-MachineLearning-NNTrainer
%description sub1-domain_API-MachineLearning
Tizen block (set of packages) for Group of domain API-Machine-Learning
%files sub1-domain_API-MachineLearning
@@ -33,3 +34,15 @@ to manage stream pipelines and their filters easily and efficiently.
%posttrans sub2-domain_API-MachineLearning-NNStreamer
%tizen_feature tizen.org/feature/machine_learning true
%tizen_feature tizen.org/feature/machine_learning.inference true
+
+
+%package sub2-domain_API-MachineLearning-NNTrainer
+Summary: NNTrainer and its API
+Requires: nntrainer
+Requires: capi-nntrainer
+%description sub2-domain_API-MachineLearning-NNTrainer
+The NNTrainer API provides interfaces to create and train Machine
+Learning models on the device locally.
+%files sub2-domain_API-MachineLearning-NNTrainer
+%posttrans sub2-domain_API-MachineLearning-NNTrainer
+%tizen_feature tizen.org/feature/machine_learning.training true
diff --git a/packaging/platform-preset-iot.inc b/packaging/platform-preset-iot.inc
index df3d13c..1944906 100644
--- a/packaging/platform-preset-iot.inc
+++ b/packaging/platform-preset-iot.inc
@@ -204,6 +204,7 @@ Requires: %{name}-sub2-domain_API-UIX-Sticker
Requires: %{name}-sub2-domain_API-UIX-Autofill
Requires: %{name}-sub2-domain_API-Web-WebView
Requires: %{name}-sub2-domain_API-MachineLearning-NNStreamer
+Requires: %{name}-sub2-domain_API-MachineLearning-NNTrainer
Requires: %{name}-sub1-domain_Feature-Resource_manager
Requires: unified-backend