~kparichay/nnstreamer/+git/trunk:nnfw_update_interface

Last commit made on 2020-01-09
Get this branch:
git clone -b nnfw_update_interface https://git.launchpad.net/~kparichay/nnstreamer/+git/trunk

Branch merges

Branch information

Name:
nnfw_update_interface
Repository:
lp:~kparichay/nnstreamer/+git/trunk

Recent commits

5b2cc71... by Parichay Kapoor <email address hidden>

[nnfw] Support setInputDimension with nnfw

With updated nnfw API, support setInputDimension with nnfw
Although the API is defined, its not yet implemeted interally
So, the unittest is added, but disabled

Signed-off-by: Parichay Kapoor <email address hidden>

73c50f6... by MyungJoo Ham

Test: filter/edgetpu unit testing

Edge-TPU subplugin unit test cases.
(1 positive and 2 negative cases)

This requires edgetpu package update in dashboard.tizen.org
(We are waiting for it)

V2: added test model condition for edgetpu testcase.

Signed-off-by: MyungJoo Ham <email address hidden>

0ce5eba... by Dongju Chae

[CONF] override NNSTREAMER_CONF_FILE with env-var conf in non-Tizen

This commit overrides NNSTREAMER_CONF_FILE with env-var conf in
non-Tizen system. So, env-var conf has a higher priority than others.

With this feature, some unittests using a conf file from env-var has
passed even if the default conf file (/etc/nnstremer.ini) exists.
Note that Tizen does not allow to set configurations from env-var.

Signed-off-by: Dongju Chae <email address hidden>

b46aa7a... by MyungJoo Ham

Dist/Tizen: show unit test result summary

Aggregate all gtest and SSAT results at the end of testing.

After this, unittest-enabled gbs will show results like:

```
[ 117s] GTest (total 232 cases)
[ 117s] Passed: 232 / Failed: 0 / Ignored: 0
[ 117s] SSAT (total 513 cases)
[ 117s] Passed: 497 / Failed: 0 / Ignored: 16
[ 117s] Grand Total: 745 cases
[ 117s] Passed: 729 / Failed: 0 / Ignored: 16
```

Changes in V2:
- made sure to call close for opened f
- use os.path.splitext
Chnaged in V3:
- with makes exceptions with fail. Handle them.

Suggested TODO in later PRs:
- Count negative test cases.

Signed-off-by: MyungJoo Ham <email address hidden>

05482c4... by Wook Song

[Filter/OpenVino] Fill the mandatory callback, invoke

This patch adds a method to run inference for given input tensors using
InferenceEngine on the acceleration device. It also implements the
mandatory callback of GstTensorFilterFramework, invoke, with such method.

Signed-off-by: Wook Song <email address hidden>

6b09f0a... by Parichay Kapoor <email address hidden>

[filter/ext] Added basic unittests for all filter extensions

Added basic unittests for all the the filter extensions
This creates failure cases of unittests for the interface defined with GstTensorFilterFramework
for most of the extensions, and performs basic unittests
Updated the unittest list in packaging files as well

Also added a script file to run all the test cases inside a folder

V2:
Split test cases into successful and negative ones

TODO: Support python extensions in this as well

Signed-off-by: Parichay Kapoor <email address hidden>

226d82b... by Parichay Kapoor <email address hidden>

[single/hw] Check hw support for framework

Add implementation to check hw support for framework while checking
for its availability.
Added unittests for this functionality with tensorflow-lite

V2:
check hardware support performed while parsing for available hardwares
Split availability test cases into positive and negative

V3:
checkHWSupport->checkAvailability

Signed-off-by: Parichay Kapoor <email address hidden>

4ecff5e... by Jaeyun <email address hidden>

[Android] add clone method

Add clone method in tensors info class.
This is to prevent meta-info change after allocating data from passed information.

Signed-off-by: Jaeyun Jung <email address hidden>

d1b13fd... by Jaeyun <email address hidden>

[Android] define enumeration for data type and state

Define enumeration for tensor data type and pipeline state (sync with C# API)

Signed-off-by: Jaeyun Jung <email address hidden>

d995457... by Jaeyun <email address hidden>

[Android] tensors-data class with metadata

1. Add tensors info in TensorsData class.
2. Handle error case when failed to create pipe info in native functions.

Signed-off-by: Jaeyun Jung <email address hidden>