platform/core/ml/nnfw.git
5 years ago[moco-tf] Introduce TFRealDiv IR (#6270)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 6 Aug 2019 04:52:34 +0000 (13:52 +0900)]
[moco-tf] Introduce TFRealDiv IR (#6270)

* [moco-tf] Introduce TFRealDiv IR

This will introduce TFRealDiv IR and required implementations

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* fix comment

5 years ago[exo-tflite] Export EltwiseSub and EltwiseDiv (#6263)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 6 Aug 2019 03:53:56 +0000 (12:53 +0900)]
[exo-tflite] Export EltwiseSub and EltwiseDiv (#6263)

This will enable export of EltwiseSub and EltwiseDiv node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[exo-tflite] Shape inf. for EltwiseSub and EltwiseDiv (#6264)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 6 Aug 2019 03:53:31 +0000 (12:53 +0900)]
[exo-tflite] Shape inf. for EltwiseSub and EltwiseDiv (#6264)

This will enable shape inference of EltwiseSub and EltwiseDiv node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Enable Squeeze Canonicalizer (#6261)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 6 Aug 2019 03:39:05 +0000 (12:39 +0900)]
[moco-tf] Enable Squeeze Canonicalizer (#6261)

This commit register and enables SqueezeCanonicalizer

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[loco] Shape Inference for Eltwise Arithmetic Nodes (#6256)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 6 Aug 2019 03:32:31 +0000 (12:32 +0900)]
[loco] Shape Inference for Eltwise Arithmetic Nodes (#6256)

This commit implements shape inference for eltwise arithmetic nodes.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[locomotiv] Support EltwiseDiv (#6258)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 6 Aug 2019 01:54:21 +0000 (10:54 +0900)]
[locomotiv] Support EltwiseDiv (#6258)

This will support EltwiseDiv node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[locomotiv] Support EltwiseSub (#6257)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 6 Aug 2019 01:54:01 +0000 (10:54 +0900)]
[locomotiv] Support EltwiseSub (#6257)

This will support EltwiseSub node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years agoUpdate replaced scripts path (#6255)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 6 Aug 2019 01:53:02 +0000 (10:53 +0900)]
Update replaced scripts path (#6255)

Update replaced scripts path reference in script or document: scripts/standalone -> infra/scripts

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Squeeze Canonicalizer (#6234)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 6 Aug 2019 01:46:21 +0000 (10:46 +0900)]
[moco-tf] Squeeze Canonicalizer (#6234)

Squeeze canonicalizer is to canonicalize TF-dialect TFSqueeze into
canonical FixedReshape.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[exo-tflite] Convert FeatureShape to ShapeDescription (#6254)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 6 Aug 2019 01:45:47 +0000 (10:45 +0900)]
[exo-tflite] Convert FeatureShape to ShapeDescription (#6254)

This commit introduces "to_shape_description" helper which constructs
ShapeDescription (which exo-tflite internally uses) from FeatureShape.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years agoUpgrade Arm Compute Lib to 19.05 (#5611)
이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 6 Aug 2019 00:36:11 +0000 (09:36 +0900)]
Upgrade Arm Compute Lib to 19.05 (#5611)

- upgrade Arm Compute Library to v19.05

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
5 years ago[moco-tf] Use loco::link helper (#6228)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 6 Aug 2019 00:16:58 +0000 (09:16 +0900)]
[moco-tf] Use loco::link helper (#6228)

Let's use loco::link helper instead of deprecated node method!

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Fix pad for TFAvgPool in fix shape (#6225)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:25:10 +0000 (08:25 +0900)]
[moco-tf] Fix pad for TFAvgPool in fix shape (#6225)

This will merge fix pad for TFAvgPool node in fix shape transform

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Introduce FuseType and divide functions using it (#6227)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 23:23:19 +0000 (08:23 +0900)]
[moco-tf] Introduce FuseType and divide functions using it (#6227)

This commit will introduce `FuseType` and divide functions using `FuseType`
for each case

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
5 years ago[moco-tf] Fix pad for MaxPool2D in fix shape (#6223)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:22:18 +0000 (08:22 +0900)]
[moco-tf] Fix pad for MaxPool2D in fix shape (#6223)

This will merge fix pad for MaxPool2D node in fix shape transform

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[loco] EltwiseDiv IR (#6229)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:21:59 +0000 (08:21 +0900)]
[loco] EltwiseDiv IR (#6229)

This will introduce canonical EltwiseDiv IR

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[exo-tflite] Registering custom op before exporting op code table (#6235)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:21:46 +0000 (08:21 +0900)]
[exo-tflite] Registering custom op before exporting op code table (#6235)

This adds custom op before exporting op code table.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
5 years ago[res] RealDiv_000 (#6233)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:17:51 +0000 (08:17 +0900)]
[res] RealDiv_000 (#6233)

This will introduce TensorFlow RealDiv_000 test model with one RealDiv node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[res] TF Sub_000 (#6231)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 23:17:11 +0000 (08:17 +0900)]
[res] TF Sub_000 (#6231)

This will introduce Sub_000 TensorFlow test model with one Sub node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[mir] Remove deserializer header (#6249)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 19:29:23 +0000 (22:29 +0300)]
[mir] Remove deserializer header (#6249)

This is a leftover after removing stale serialization support.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years agoSelecting all helper functions in a separate file (#6237)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 18:12:18 +0000 (21:12 +0300)]
Selecting all helper functions in a separate file (#6237)

* Move all helper functions in one file
* Fix other code

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
5 years ago[mir2loco] Rename DTYPE to DataType (#6247)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 18:06:11 +0000 (21:06 +0300)]
[mir2loco] Rename DTYPE to DataType (#6247)

Replace deprecated `DTYPE` with `DataType`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[nnc] Rename DTYPE to DataType (#6248)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 17:40:16 +0000 (20:40 +0300)]
[nnc] Rename DTYPE to DataType (#6248)

Replace deprecated `DTYPE` with `DataType`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_tflite] Rename DTYPE to DataType (#6246)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 17:39:16 +0000 (20:39 +0300)]
[mir_tflite] Rename DTYPE to DataType (#6246)

Replace deprecated `DTYPE` with `DataType`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_caffe2] Rename DTYPE to DataType (#6245)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 17:38:52 +0000 (20:38 +0300)]
[mir_caffe2] Rename DTYPE to DataType (#6245)

Replace deprecated `DTYPE` with `DataType`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_caffe] Rename DTYPE to DataType (#6244)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 17:38:27 +0000 (20:38 +0300)]
[mir_caffe] Rename DTYPE to DataType (#6244)

Replace deprecated `DTYPE` with `DataType`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_tflite] Rename namespace nnc to mir_tflite in TFLite importer (#6240)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 16:45:25 +0000 (19:45 +0300)]
[mir_tflite] Rename namespace nnc to mir_tflite in TFLite importer (#6240)

* Rename namespace and include guards in TFLite importer
* Fix usages of the namespace in `nnc`

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_caffe] Rename namespace nnc to mir_caffe in Caffe importer (#6239)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 16:45:07 +0000 (19:45 +0300)]
[mir_caffe] Rename namespace nnc to mir_caffe in Caffe importer (#6239)

* Rename namespace and include guards in Caffe importer
* Fix usages of the namespace in `nnc`

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir_caffe2] Rename namespace nnc to mir_caffe2 in Caffe2 importer (#6238)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 16:43:06 +0000 (19:43 +0300)]
[mir_caffe2] Rename namespace nnc to mir_caffe2 in Caffe2 importer (#6238)

* Rename namespace and include guards in Caffe2 importer
* Fix usages of the namespace in `nnc`

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir] Rename DTYPE to DataType (#6243)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 16:35:39 +0000 (19:35 +0300)]
[mir] Rename DTYPE to DataType (#6243)

Rename enum class `DTYPE` to `DataType` to conform to the naming rules.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years agoRename ncc namespace into mir_onnx in ONNX importer (#6236)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 15:39:48 +0000 (18:39 +0300)]
Rename ncc namespace into mir_onnx in ONNX importer (#6236)

* Rename namespace in importer
* Fix onnx_frontend in NNC

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
5 years agoACL NEON Strided Slice (#5946)
Nikita Sizov/AI Tools Lab /SRR/Professional/삼성전자 [Mon, 5 Aug 2019 13:51:36 +0000 (16:51 +0300)]
ACL NEON Strided Slice (#5946)

Add support of Strided Slice in ACL NEON

Signed-off-by: Sizov Nikita <n.sizov@samsung.com>
5 years ago[mir2loco] Support Conv2D operation (#5899)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 13:49:31 +0000 (16:49 +0300)]
[mir2loco] Support Conv2D operation (#5899)

* Implemented `mir::Conv2DOp` transformation to `loco::Conv2D`
* Added test for this

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
5 years agoAdd layout as a condition for merging subgraphs (#6216)
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 11:12:18 +0000 (20:12 +0900)]
Add layout as a condition for merging subgraphs (#6216)

This commit adds layout as a condition for merging subgraph.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
5 years ago[mir] Remove Deserializer unittest (#6178)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 11:09:54 +0000 (14:09 +0300)]
[mir] Remove Deserializer unittest (#6178)

This is a leftover after removing serialization support.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir] Normalize variable names (#6179)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Mon, 5 Aug 2019 11:09:19 +0000 (14:09 +0300)]
[mir] Normalize variable names (#6179)

Normalize variable names:
* `_snake_case` for private members;
* `snake_case` for local variables (and parameters).

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mir2loco] Use link helper (#6211)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 11:02:54 +0000 (20:02 +0900)]
[mir2loco] Use link helper (#6211)

This commit revises mir2loco to use link helper function instead of
deprecated node method in GraphInput and GraphOutput.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[res] Add selective Squeeze test (#6230)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 10:20:59 +0000 (19:20 +0900)]
[res] Add selective Squeeze test (#6230)

Add Squeeze test that has selective squeeze dimension

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[nnpackage] Introduce nnpackager (#6145)
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 09:48:01 +0000 (18:48 +0900)]
[nnpackage] Introduce nnpackager (#6145)

This PR introduces nnpackager, which provides verify function only.
It checks:
- the existence of nnpackager root directory
- the existence of MANIFEST
- the validity of json format
- the existence of models file

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
5 years ago[moco-tf] Fix pad for Conv2D in fix shape (#6221)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 09:40:03 +0000 (18:40 +0900)]
[moco-tf] Fix pad for Conv2D in fix shape (#6221)

This will merge fix pad for Conv2D node in fix shape transform

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Enable import as TFRelu and TFRelu6 (#6220)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 09:39:42 +0000 (18:39 +0900)]
[moco-tf] Enable import as TFRelu and TFRelu6 (#6220)

This will enable import as TRRelu and TFRelu6

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[loco] Implement ReLU6 shape inference (#6222)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 09:38:03 +0000 (18:38 +0900)]
[loco] Implement ReLU6 shape inference (#6222)

This commit extends CanonicalShapeInferenceRule to accept ReLU6 node.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[res/TensorFlowTests] renaming compilerInfo.pbtxt to customop.conf (#6215)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 09:28:21 +0000 (18:28 +0900)]
[res/TensorFlowTests] renaming compilerInfo.pbtxt to customop.conf (#6215)

[res/TensorFlowTests] renaming compilerInfo.pbtxt to customop.confi

Two compilerInfo.pbtxt files were renamed to customop.conf.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
5 years agoRename nnapi-header (#6199)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 08:50:01 +0000 (17:50 +0900)]
Rename nnapi-header (#6199)

Rename nnapi-header interface to nnfw-header

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years agoUse option for coverage and test build flag (#6224)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 08:47:59 +0000 (17:47 +0900)]
Use option for coverage and test build flag (#6224)

Use cmake option to set ENABLE_TEST and ENABLE_COVERAGE

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Give chance for negative squeeze dim shape inference (#6206)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 08:30:40 +0000 (17:30 +0900)]
[moco-tf] Give chance for negative squeeze dim shape inference (#6206)

Previously shape inference for TFSqueeze aborts when it encounters
negative squeeze dimension. From this commit, shape inference,
'fix_shape()', for TFSqueeze just return false, not abort program
to give a chance for later time, possibly after negative dimension
resolved.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[moco-tf] Fix pad for AvgPool2D in fix shape (#6196)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 08:17:26 +0000 (17:17 +0900)]
[moco-tf] Fix pad for AvgPool2D in fix shape (#6196)

* [moco-tf] Fix pad for AvgPool2D in fix shape

This will merge fix pad for AvgPool2D node in fix shape transform

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* remove local var only for assert

* remove useless assert

* remove unused header

5 years ago[locoex-customop] Use link helper (#6208)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 08:13:56 +0000 (17:13 +0900)]
[locoex-customop] Use link helper (#6208)

Let's use link helper instead of deprecated node method.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-onnx] Use link helper (#6209)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 08:13:42 +0000 (17:13 +0900)]
[moco-onnx] Use link helper (#6209)

Let's use link helper instead of deprecated node method.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Import Squeeze (#6205)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 08:13:18 +0000 (17:13 +0900)]
[moco-tf] Import Squeeze (#6205)

* [moco-tf] Import Squeeze

This commit adds import stage for tensorflow Squeeze operation.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Comments on what to test

5 years agoIntroduce interface for strict build and coverage (#6207)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 07:53:58 +0000 (16:53 +0900)]
Introduce interface for strict build and coverage (#6207)

Introduce interface nnfw_common and nnfw_coverage in nnfw cmake script
Introduce cmake option variable for strict build and variable setting for coverage build

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Canonicalize TFRelu and TFRelu6 (#6217)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 07:52:36 +0000 (16:52 +0900)]
[moco-tf] Canonicalize TFRelu and TFRelu6 (#6217)

This will enable TFRelu and TFRelu6 canonicalization

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Revise comments of FuseBinaryIntoPreceding (#6204)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 07:52:23 +0000 (16:52 +0900)]
[moco-tf] Revise comments of FuseBinaryIntoPreceding (#6204)

* [moco-tf] Revise comments of FuseBinaryIntoPreceding

This commit will revise some comments of `FuseBinaryIntoPreceding.cpp`

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
* Apply comments

5 years ago[loco] EltwiseSub IR (#6203)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 07:35:00 +0000 (16:35 +0900)]
[loco] EltwiseSub IR (#6203)

* [loco] EltwiseSub IR

This will introduce canonical EltwiseSub IR

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* todo cmt for shape inference

5 years ago[loco-exporter] Use link helper (#6212)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 07:33:07 +0000 (16:33 +0900)]
[loco-exporter] Use link helper (#6212)

Let's use link helper instead of deprecated node method.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Fix comments for Relu, Relu6 (#6202)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 07:12:01 +0000 (16:12 +0900)]
[moco-tf] Fix comments for Relu, Relu6 (#6202)

This will fix comments for Relu and Relu6 nodes

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Canonicalize TFRelu (#6195)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 07:07:54 +0000 (16:07 +0900)]
[moco-tf] Canonicalize TFRelu (#6195)

This will add ReluCanonicalizer that transforms TFRelu node to canonical ReLU node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] Hide TFNodeSummaryBuilderBase _tbl (#6168)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 07:05:09 +0000 (16:05 +0900)]
[moco-tf] Hide TFNodeSummaryBuilderBase _tbl (#6168)

* [moco-tf] Hide TFNodeSummaryBuilderBase _tbl

This will change TFNodeSummaryBuilderBase member _tbl to be private to prevent unintended problems

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* add warning message

5 years agoFix pylint warning in res (#6210)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 06:48:14 +0000 (15:48 +0900)]
Fix pylint warning in res (#6210)

Fix pylint warning by python files in res

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[locomotiv] Use link helper (#6197)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 06:05:35 +0000 (15:05 +0900)]
[locomotiv] Use link helper (#6197)

Let's use link helper instead of deprecated "node" method in GraphInput/Output.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[exo-tflite] Use link helper (#6200)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 06:03:25 +0000 (15:03 +0900)]
[exo-tflite] Use link helper (#6200)

This commit revises exo-tflite to use link helper instead of
deprecated "node" method in GraphInput/GraphOutput.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Canonicalize TFRelu6 (#6193)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 04:53:29 +0000 (13:53 +0900)]
[moco-tf] Canonicalize TFRelu6 (#6193)

This will add Relu6Canonicalizier that transforms TFRelu6 node to canonical ReLU6 node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years agoChange the way getting layout of node in PermutationInsertionPass (#6148)
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 04:42:25 +0000 (13:42 +0900)]
Change the way getting layout of node in PermutationInsertionPass (#6148)

This commit changes the way getting layout of node in PermuttationInsertionPass from model::Subgraph to operation::LowerInfo.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
5 years ago[loco] Implement FeatureCodec shape inference (#6191)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 04:42:13 +0000 (13:42 +0900)]
[loco] Implement FeatureCodec shape inference (#6191)

This commit extends CanonicalShaapeInferenRule to accept
FeatureEncode and FeatureDecode nodes.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years agoRemove softlink directory (#6188)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 04:42:00 +0000 (13:42 +0900)]
Remove softlink directory (#6188)

Remove softlink directory scripts/standalone - made for CI infra workaround
Update format check script

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Import as TFRelu (#6182)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 04:38:11 +0000 (13:38 +0900)]
[moco-tf] Import as TFRelu (#6182)

This will change import Relu node as TFRelu from the knob

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[loco] Introduce "link" helper (#6190)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 04:33:26 +0000 (13:33 +0900)]
[loco] Introduce "link" helper (#6190)

This commit introdues "link" helper which associates
GraphInput/GraphOutout with Pull/Push node, respectively.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years agoFormat check hpp extension (#6187)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 04:16:54 +0000 (13:16 +0900)]
Format check hpp extension (#6187)

Add format check extension: hpp file
Fix format: nnfw_api.hpp

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Import as TFRelu6 (#6183)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 04:10:04 +0000 (13:10 +0900)]
[moco-tf] Import as TFRelu6 (#6183)

This will change import Relu6 node as TFRelu6 from the knob

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[moco-tf] LogHelper to dump Pad and PadData (#6185)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 04:01:21 +0000 (13:01 +0900)]
[moco-tf] LogHelper to dump Pad and PadData (#6185)

This will introduce LogHelper to dump Pad and PadData values

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[tflite_benchmark] Insert pause between iterations (#6189)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 03:53:13 +0000 (12:53 +0900)]
[tflite_benchmark] Insert pause between iterations (#6189)

tflite_benchmark now allows users to insert pause between iterations via
"PAUSE" environment variable.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Revise COpCall test (#6184)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 03:30:20 +0000 (12:30 +0900)]
[moco-tf] Revise COpCall test (#6184)

This will revisit CopCall node test to remove relation with graph connections

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[enco] Fix copyright year (#6174)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 02:53:19 +0000 (11:53 +0900)]
[enco] Fix copyright year (#6174)

This commit fixes copyright year for 2019 generated file

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[loco] Implement Relu shape inference (#6161)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 02:50:39 +0000 (11:50 +0900)]
[loco] Implement Relu shape inference (#6161)

* [loco] Implement Relu shape inference

CanonicalShapeInferenceRule now properly infers the shape of relu node.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
* Add final

5 years agoUpdate scheduled deprecated API. (#6163)
이성재/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 01:52:59 +0000 (10:52 +0900)]
Update scheduled deprecated API. (#6163)

* Change old API `gfile.FastGFile` to `tf.gfile.GFile`

Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
5 years agoUse external volume mount in standalone scripts (#6136)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 01:32:35 +0000 (10:32 +0900)]
Use external volume mount in standalone scripts (#6136)

It enables using external volume mount in CI test infra
- Reduce external code download overhead
- Remove pre-built acl binary dependency (especially on version up)

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
5 years ago[moco-tf] Summary for TFSqueeze (#6162)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 00:59:03 +0000 (09:59 +0900)]
[moco-tf] Summary for TFSqueeze (#6162)

* [moco-tf] Summary for TFSqueeze

This commit introduces log summary for TFSqueeze

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Make use of pepper::str

5 years ago[pepper-strcast] Fix missing copyright boilerplate (#6171)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 00:16:56 +0000 (09:16 +0900)]
[pepper-strcast] Fix missing copyright boilerplate (#6171)

This commit fixes missing copyright boilerplate

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[moco-log] Fix missing copyright boilerplate (#6172)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 00:16:41 +0000 (09:16 +0900)]
[moco-log] Fix missing copyright boilerplate (#6172)

This commit fixes missing copyright boilerplate

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[locop] Fix copyright year (#6173)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 5 Aug 2019 00:16:26 +0000 (09:16 +0900)]
[locop] Fix copyright year (#6173)

This commit fixes copyright year for 2019 generated file

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[locop] Extract CanonicalNodeSummaryBuilder (#6169)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 5 Aug 2019 00:15:43 +0000 (09:15 +0900)]
[locop] Extract CanonicalNodeSummaryBuilder (#6169)

This commit extracts CanonicalNodeSummaryBuilder from FormattedGraph
module, and put them in a header/source.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] implementing make_graph_builder_registry(..) function (#6175)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 00:15:28 +0000 (09:15 +0900)]
[moco-tf] implementing make_graph_builder_registry(..) function (#6175)

This adds `make_graph_builder_registry(..)` function, which makes graph builder registry that finds custom op graph builder and then searches into the default registry.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
5 years ago[locoex] TypeInferenceRule for custom op (#6170)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Aug 2019 00:14:31 +0000 (09:14 +0900)]
[locoex] TypeInferenceRule for custom op (#6170)

TypeInferenceRule and a test for custom op was committed.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
5 years ago[moco-tf] Knobs to import as TFRelu and TFRelu6 (#6181)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Sun, 4 Aug 2019 23:40:29 +0000 (08:40 +0900)]
[moco-tf] Knobs to import as TFRelu and TFRelu6 (#6181)

This will add two knobs to import as TFRelu and TFRelu6

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[mir/Caffe2 importer] Improve support for constant tensors (#6176)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Fri, 2 Aug 2019 19:02:28 +0000 (22:02 +0300)]
[mir/Caffe2 importer] Improve support for constant tensors (#6176)

Rework support for constant tensors to not (almost) depend on concrete models.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years ago[mocotest-tf] Enable basic Reshape test (#6164)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 10:47:14 +0000 (19:47 +0900)]
[mocotest-tf] Enable basic Reshape test (#6164)

This commit enables basic Reshape test, Reshape_000.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[mocotest-tf] Enable test for dynamic reshape with wildcard dim (#6166)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 10:47:02 +0000 (19:47 +0900)]
[mocotest-tf] Enable test for dynamic reshape with wildcard dim (#6166)

This commit enables moco test which can check resolving dynamic reshape
with wildcard dimension.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[exo-tflite] Use loco shape inference framework (#6144)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 2 Aug 2019 08:22:12 +0000 (17:22 +0900)]
[exo-tflite] Use loco shape inference framework (#6144)

This commit allows exo-tflite to use the shape inference framework
implemented in loco instead of exo-tflite internal shape inference
framework.

Please note that this feature is turned off by default.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Introduce fmt helper (#6149)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 2 Aug 2019 08:21:49 +0000 (17:21 +0900)]
[moco-tf] Introduce fmt helper (#6149)

This commit introduces fmt helper specialized for moco-tf.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] GraphBuilder for custom op (#6139)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 2 Aug 2019 08:21:03 +0000 (17:21 +0900)]
[moco-tf] GraphBuilder for custom op (#6139)

* [moco-tf] GraphBuilder for custom op

This adds GraphBuilder, transforms, and a test for custom op.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* enhancing per comments

5 years ago[moco-tf] TFSqueeze shape inference (#6117)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 08:11:07 +0000 (17:11 +0900)]
[moco-tf] TFSqueeze shape inference (#6117)

* [moco-tf] TFSqueeze shape inference

This commit introduces shape inference for TFSqueeze

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Review fix: use set, use lambda for assertion

5 years ago[moco-tf] Enable ResolveReshapeWildcardDim transform (#6154)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 08:10:03 +0000 (17:10 +0900)]
[moco-tf] Enable ResolveReshapeWildcardDim transform (#6154)

This commit registers and enables ResolveReshapeWildcardDim transform.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[locop] Extract NodeSummaryBuilder (#6150)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 2 Aug 2019 08:08:34 +0000 (17:08 +0900)]
[locop] Extract NodeSummaryBuilder (#6150)

This commit introduces a new header file dedicated to
NodeSummaryBuilder and NodeSummaryBuilderFactory classes.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
5 years ago[moco-tf] Enable TFReshape canonicalizer (#6151)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 07:58:53 +0000 (16:58 +0900)]
[moco-tf] Enable TFReshape canonicalizer (#6151)

This commit registers TFReshape canonicalizer to enable it.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
5 years ago[mir2loco] Support BiasAdd operation (#5901)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Fri, 2 Aug 2019 07:56:05 +0000 (10:56 +0300)]
[mir2loco] Support BiasAdd operation (#5901)

* Transform `mir::BiasAddOp` to `loco::BiasAdd<Domain::Tensor>` using `loco::BiasEncode>
* Test for this

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
5 years ago[moco-tf] Fix seg fault with LOG enabled (#6155)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 2 Aug 2019 07:50:11 +0000 (16:50 +0900)]
[moco-tf] Fix seg fault with LOG enabled (#6155)

This will fix segment fault when run with LOG enabled

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[neurun] Use shape inference in interpreter (#6012)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 2 Aug 2019 07:38:57 +0000 (16:38 +0900)]
[neurun] Use shape inference in interpreter (#6012)

* Use shape inference in interpreter

To support dynamic shape, use shape inference: convolution, maxpool, averagepool

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Fix unspecified shape checking and shape inference for depthwise conv

5 years ago[moco-tf] Introduce TFRelu and TFRelu6 IR (#6143)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 2 Aug 2019 07:36:04 +0000 (16:36 +0900)]
[moco-tf] Introduce TFRelu and TFRelu6 IR (#6143)

This will introduce TensorFlow dialect TFRelu and TFRelu6 IR and minimum required codes

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
5 years ago[mir] Remove stale serialization support (#6120)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Fri, 2 Aug 2019 07:27:28 +0000 (10:27 +0300)]
[mir] Remove stale serialization support (#6120)

It is stale and were never used.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
5 years agoFix a typo in PluginClassesAllocator for acl_neon (#6142)
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 2 Aug 2019 05:55:08 +0000 (14:55 +0900)]
Fix a typo in PluginClassesAllocator for acl_neon (#6142)

This commit fixes a typo in PluginClassesAllocator for acl_neon.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>