~kparichay/nnstreamer/+git/trunk:backend_support_tpu

Last commit made on 2019-12-30
Get this branch:
git clone -b backend_support_tpu https://git.launchpad.net/~kparichay/nnstreamer/+git/trunk

Branch merges

Branch information

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

Recent commits

05ebb8c... by Parichay Kapoor <email address hidden>

[plugin/hw] Add more HW accelerator and update implementation

Add TPU as a backend accelerator property option in list of hardware
accelerators
Move default accelerator to avoid changing default accelerator enum value
everytime a new backend device is added

V2:
- Updated the regex to be formed at run-time using a list of supported
accelerators.
- Accelerators are also stored as GEnumValues to do conversion from
string to int value and vice versa easily
- More accelerators are added in heirarchical order. srcn and neon
moved to npu and cpu heirarchy correspondingly.
- Added more accelerators to be supported in future.

V3:
Update backend accelerator in tizen c-api

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

8222640... by Parichay Kapoor <email address hidden>

[tflite] Backend unittest should always pass

Tensorflow-lite unittest which tests for appropriate backend parsing and testing
should always pass.
Removed accelerator input validity check at tensor_filter.c as it is checked in
each filter again.

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

3d47afc... by Jaeyun <email address hidden>

[Android/SNAP] build script for SNAP

Update script to build Android library including SNAP.
Before running with option --enable_snap=yes, developer should define SNAP_DIRECTORY (dir path to SNAP sub-plugin and prebuilt library)

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

f654719... by Parichay Kapoor <email address hidden>

[nnfw] Reverse the order of dimension

Reverse the order of dimensions with nnstreamer as
nnfw stores dimension in accordance with tflite

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

be67893... by Jaeyun <email address hidden>

[Filter/TF] remove unnecessary code

remove unnecessary code (duplicated with tf_destroyNotify())

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

e94808c... by MyungJoo Ham

Dist/Tizen: add missing manifest for source-tizen-sensor

Because it has an executable (shared library), we need
SMACK manifest information.

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

30d8a62... by Parichay Kapoor <email address hidden>

[nnfw] Set accelerator for nnfw

Allow setting of accelerator for nnfw
Parsing accelerator moved to tensor_filter_common. Currently, used in
tflite and nnfw, and use directly for other filters like this.

V2:
Added note that PROP_ACCELERATOR is supported in a few filter extensions only.

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

6ee3088... by Dongju Chae

[Refactor/TF] Refactor tf tensor-filter subplugin to remove .c/.cc wrapper

This commit refactors tf tensor-filter subplugin to remove .c/.cc wrapper.

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

36d8f97... by Dongju Chae

[Refactor/Python] Refactor python sub-plugin to remove c/cc wrapper

This commit refactors python tensor-filter sub-plugin to remove c/cc
wrapper.

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

3f7b62e... by MyungJoo Ham

Filter: support EdgeTPU with tensorflow-lite interface

Support EdgeTPU with non-NNAPI tensorflow-lite interface (delegation).

Tested with Ubuntu 18.04 + Coral Edge-TPU + Mobile-SSD TF Lite model.

TODO (later PRs): How to test with w/ GTest in CI?

Fixes #1661

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