[ML][Pipeline] GetSource implementation 39/252339/3
authorLukasz Bardeli <l.bardeli@samsung.com>
Tue, 26 Jan 2021 12:56:06 +0000 (13:56 +0100)
committerLukasz Bardeli <l.bardeli@samsung.com>
Thu, 28 Jan 2021 05:47:54 +0000 (06:47 +0100)
commit353eeed6c663a1bedbe819e2a9ae0405c72258ed
treed75c16575d20ba84869cab1130c50e55a94f2f64
parenteac9c6193b2e59706f7c03cefb87d667b4f6f677
[ML][Pipeline] GetSource implementation

ACR: TWDAPI-274

[Verification] Code compiles without error. Tested in chrome console.

var pipeline = tizen.ml.pipeline.createPipeline("appsrc name=appsrc ! other/tensor,dimension=(string)4:1:1:1, type=(string)uint8,framerate=(fraction)0/1 ! tensor_if name=tif compared-value=CUSTOM compared-value-option=tif_custom_cb_name ")
var source = pipeline.getSource("appsrc")
var tensor = source.inputTensorsInfo

Change-Id: I3c09d2f91758c19e82ade9e6e5237ddc0a8ef76e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
src/ml/js/ml_pipeline.js
src/ml/ml.gyp
src/ml/ml_instance.cc
src/ml/ml_instance.h
src/ml/ml_pipeline.cc
src/ml/ml_pipeline.h
src/ml/ml_pipeline_manager.cc
src/ml/ml_pipeline_manager.h
src/ml/ml_pipeline_source.cc [new file with mode: 0644]
src/ml/ml_pipeline_source.h [new file with mode: 0644]