[TRE-2540] Add nntrainer to iot platform image 90/242290/3
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 25 Aug 2020 10:12:07 +0000 (19:12 +0900)
committerJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 27 Aug 2020 01:37:19 +0000 (10:37 +0900)
Change-Id: I2b4a1f1daeebf4b6ac344923c3c997612140fc8f
Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
mapping-bb-rs.xml
mapping-bb-tct.xml
packaging/domain-apis-machinelearning.inc
packaging/platform-preset-iot.inc

index 5d8a113594e01e8f8a79584b848a50c19fba5d17..615d3c5d2189c967535993d40258088fb8de4b56 100644 (file)
        <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>
index 3665c07fc7e7c5652a02eed005f6303ddd81b2b4..472fc0865543293f1d7635fb9bc79e6cf45611c0 100644 (file)
                <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>
index 1fef90e699addc53a32a1714acf1929ac3162418..d5d580568ebb79967373881510f29f6cb4572151 100644 (file)
@@ -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
index 46bd900e1341938b0d2f463e810fdeadfeffaed9..4516178135d1a351bc7c2ae155e34ba1b5d40492 100644 (file)
@@ -203,6 +203,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