[ML][Common] Fix issues that came out after TCT tests 31/255131/1
authorRafal Walczyna <r.walczyna@samsung.com>
Fri, 12 Mar 2021 07:55:42 +0000 (08:55 +0100)
committerRafal Walczyna <r.walczyna@samsung.com>
Fri, 12 Mar 2021 09:49:36 +0000 (10:49 +0100)
commit64e197419c9bab3000aa6fe27abc4138e02cf344
tree3bb9481dc9f31168108f47573f1f80a4f1a974c2
parent01cae06c68aa6d1376576f77b23e20c8525aa411
[ML][Common] Fix issues that came out after TCT tests

- tizen.ml.single and tizen.ml.prototype should be not writable
- TensorsInfo.addTensorsInfo should return newly added tensors info id
- ValidateBufferForTensorsData issue

[Verification] Tested in chromium console

Change-Id: I9ba7e074c79ffc7acb4de32a87a42db6c5f22beb
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
src/ml/js/ml_common.js
src/ml/js/ml_manager.js
src/ml/ml_instance.cc