[ML] Disable ML Trainer for TV build profile 03/272203/2
authorPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Thu, 10 Mar 2022 14:13:33 +0000 (15:13 +0100)
committerPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Fri, 11 Mar 2022 06:51:57 +0000 (07:51 +0100)
commitbd7d748831aa290bb88d6375e8267d78d728f40c
treeaa21f9526647baa979c3826873b064f577c49045
parent85a12d703e95de32c0be4cd73deacd85f9d51127
[ML] Disable ML Trainer for TV build profile

[verification] Compilation succeeds for mobile and tv profile.
Mobile profile includes all C++ implementation dependant of nntrainer.
TV profile build does not include any C++ implementation of
tizen.ml.trainer methods.

Tested in chrome console that for Mobile - tizen.ml.trainer is available
and working properly. For TV feature is disabled (doesn't work), but
there are no crashes.

Change-Id: I55dd846d7ba8303a0422deabc9aa2b6dbfe27612
packaging/webapi-plugins.spec
src/ml/ml.gyp
src/ml/ml_instance.cc
src/ml/ml_instance.h
src/ml/ml_utils.cc
src/ml/ml_utils.h