박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 05:36:01 +0000 (14:36 +0900)]
[exo] Fuse Squared Difference (#8654)
This commit introduces a pass to fuse Squared Difference pattern
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 05:20:59 +0000 (14:20 +0900)]
[moco-tf] Remove alias and use moco (#8688)
This will remove moco::tf alias for moco and update to use moco types
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 04:17:23 +0000 (13:17 +0900)]
Introduce Readers for nchw (#8663)
This commit introduces Readers for nchw.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 04:13:12 +0000 (13:13 +0900)]
[exo] Export Sqrt, Rsqrt, SquaredDifference (#8652)
This commit implements export stage for TFLSqrt, TFLRsqrt and
TFLSquaredDifference. Note that both TFLite exporter and Circle exporter
implemented.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 04:10:45 +0000 (13:10 +0900)]
[moco-tf] Use moco/Importer.h (#8686)
This will update to use moco/Importer.h in moco-tf
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 03:29:38 +0000 (12:29 +0900)]
[nnkit-mocotf] Use moco namespace types not alias (#8682)
This will update to not to use alias moco::tf namespace
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 03:29:03 +0000 (12:29 +0900)]
[tf2circle] Use moco namespace types not alias (#8681)
This will update to not to use alias moco::tf namespace
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 1 Nov 2019 03:03:38 +0000 (12:03 +0900)]
[nnkit-tf] Throw T/F error message (#8673)
The exception thrown inside run method now contains detailed message
that comes from TensorFlow itself.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 03:01:37 +0000 (12:01 +0900)]
[neurun] Update ifdef guards of operations (#8683)
Update `#ifdef` guards of operations which were not updated when it was
renamed.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
[nnapi] Remove skipping Gather operation on cpu tests (#8667)
* Enabled tests for Gather operation on cpu backends
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 01:54:20 +0000 (10:54 +0900)]
[tf2tflite] Use moco namespace types not alias (#8680)
This will update to not to use alias moco::tf namespace
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 01:49:07 +0000 (10:49 +0900)]
[moco] Tidy import unused dependency (#8676)
This will remove unused dependency headers and libraries
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 01:40:07 +0000 (10:40 +0900)]
[exo] Fuse Rsqrt (#8655)
This commit introduces a pass to fuse Rsqrt pattern
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 01:19:19 +0000 (10:19 +0900)]
[exo] Convert EltwiseSqrt (#8653)
This commit implements conversion from canonical EltwiseSqrt to
TFL-dialect TFLSqrt
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 1 Nov 2019 01:08:30 +0000 (10:08 +0900)]
[moco] Provide Importer header in moco folder (#8672)
This will provide Importer header in moco folder
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 1 Nov 2019 00:58:26 +0000 (09:58 +0900)]
[neurun] Rename operation classes (#8666)
This commit removes suffix 'Node' from operation class names since
redundant.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 31 Oct 2019 12:09:13 +0000 (21:09 +0900)]
[tflite_loader] Introduce tflite_loader test list (#8660)
Itnroduce tflite_loader test list for tflite_loader validation test
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 31 Oct 2019 10:30:06 +0000 (19:30 +0900)]
[runtime] Move runtimes and rename runtime directory (#8472)
Move logging and pacl runtime into contrib
Rename runtime directory: runtimes -> runtime
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 10:04:52 +0000 (19:04 +0900)]
[moco] Update Importer comment (#8657)
This will update Importer comment with input and output nodes
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 10:04:30 +0000 (19:04 +0900)]
[moco-tf] Remove output node handle for Push (#8656)
This will remove not needed anymore handle for Canonical Push as output node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 09:57:59 +0000 (18:57 +0900)]
[base_loader] Remove unused variable (#8659)
Remove unused variable in `BaseLoader::loadOperand`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
[neurun] Inline Graph::linearize (#8627)
This is to remove dependency of `Graph` on `Linear`.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 09:30:56 +0000 (18:30 +0900)]
Make Readers and Views support both ITensor and buffer (#8644)
This commit makes Readers and Views support both ITensor and buffer.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 09:15:08 +0000 (18:15 +0900)]
[neurun] Allow same inputs multiple times (#8567)
Allow same inputs multiple times for an operation.
Remove redundant assertion
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 09:11:53 +0000 (18:11 +0900)]
[neurun] Support 1x1x1x1 input for Squeeze (#8646)
Squeeze will handle 1x1x1x1 input using ShapeFixer.
Scalar output will be fixed to rank-1 one element tensor.
The output value will be transfer to app without trouble since nnfw
runtime API get output values using buffer pointer and buffer length.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 07:47:27 +0000 (16:47 +0900)]
[moco] Produce TFPush for graph output (#8647)
* [moco] Produce TFPush for graph output
This will update to produce TFPush for graph output node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* update comment
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 07:19:45 +0000 (16:19 +0900)]
[exo] Type & shape infer. for Sqrt, Rsqrt, SquaredDifference (#8649)
This commit introduces type and shape inferences or TFLSqrt, TFLRsqrt,
TFLSquaredDifference.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 06:40:49 +0000 (15:40 +0900)]
[circle-verify] Add VerifyFlatBuffers (#8648)
This will add and enable VerifyFlatBuffers verify Circle file in flatbuffer file format level
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 06:37:52 +0000 (15:37 +0900)]
[exo] Note on Pass name convention (#8645)
This commit adds note on Pass name convention
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 05:19:19 +0000 (14:19 +0900)]
[exo] Rename to have Pass suffix (#8643)
This commit renames following classes (and related files) to have 'Pass'
suffix like other Passes:
- FoldReshapeOfConst -> FoldReshapeOfConstPass
- FoldTransposeOfConst -> FoldTransposeOfConstPass
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 05:14:49 +0000 (14:14 +0900)]
[exo] TFL nodes for Sqrt, Rsqrt, SquaredDifference (#8623)
This commit introduces simple TFL-dialect nodes:
- locoex::TFLSqrt
- locoex::TFLRsqrt
- locoex::TFLSquaredDifference
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 05:07:27 +0000 (14:07 +0900)]
[circle-verify] Introduce Model and empty Driver (#8641)
* [circle-verify] Introduce Model and empty Driver
This will introdue Model that will provide mmapped buffer and empty Driver
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* apply comments
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 04:43:20 +0000 (13:43 +0900)]
[moco-tf] Prepare to handle TFPush instead of Push (#8636)
This will update Frontend to support output as TFPush and Push while updating to produce TFPush as Output
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
[neurun] Remove workaround after switching to ACL v19.05 (#8629)
Prior versions had a bug which did not take into accout the activation fused into CLDepthwiseConvolutionLayer. The workaround for this is now removed.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
[nnpkg_run] Fix hdf5 file dump (#8575)
Value group have to be created only once for file
Remove blank line
Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 31 Oct 2019 04:15:17 +0000 (13:15 +0900)]
Change the dimension order of Reader and Views in nhwc (#8509)
This commit changes dimension order of Reader and Views in nhwc to nhwc.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:56:01 +0000 (10:56 +0900)]
[circle-verify] Readme (#8635)
* [circle-verify] Readme
This will introduce circle-verify readme file explaining it's usage
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* edit about
* change output format
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:55:25 +0000 (10:55 +0900)]
[moco-tf] Add TFPush NodeSummaryBuilder (#8634)
This will add TFPush node to NodeSummmaryBuilder
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:47:44 +0000 (10:47 +0900)]
[moco-integration-test] adding tests related to depthwiseConv2D bias fusion (#8543)
This adds tests related to depthwiseConv2D bias fusion.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:34:15 +0000 (10:34 +0900)]
[tfl-inspect] Enable nullptr for data in buffer_info (#8632)
This will enable buffer_info() to accept nullptr in buffer_data for use cases where only return size is needed
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:31:52 +0000 (10:31 +0900)]
[moco] TF dialect OutputIndexQueryService (#8630)
This will enable TF dialect GraphOutputIndexQueryService
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:29:03 +0000 (10:29 +0900)]
[tfl-inspect] Enable conv2d_weight option (#8633)
This will enable conv2d_weight option that shows Conv2D series node with non Const weight input
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:27:08 +0000 (10:27 +0900)]
[moco-tf] Enable TFPush canonicalizer (#8631)
* [moco-tf] Enable TFPush canonicalizer
This will enable TFPushCanonicalizer in Canonicalizer phase
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* fix typo
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 31 Oct 2019 01:03:48 +0000 (10:03 +0900)]
[neurun] fix loadSqueeze and SqueezeNode. (#8602)
- `loadSqueeze` should read `squeeze_dims` from options.
- `squeeze_dims` should be array in SqueezeNode.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 30 Oct 2019 23:30:41 +0000 (08:30 +0900)]
[exo] Clean empty line for conversion registry (#8622)
This commit clears empty line in Convert.h, which registers all
conversion passes. This is mainly to enhance readability.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 22:01:08 +0000 (07:01 +0900)]
[compiler] introducing tf2tflite-quality-test (#8614)
This introduces a new project called `tf2tflite-quality-test`, whose previous name was `dredd`.
The basic structure of this is very similar with `tf2tflite-model-test`.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 22:00:39 +0000 (07:00 +0900)]
[exo] revising TestGraph.h (#8618)
This revises TestGraph.h to 1) remove build() and 2) remove graph().
1) build() is moved into constructor
2) graph() is already defined in parent
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 21:56:01 +0000 (06:56 +0900)]
[moco-tf] Push canonicalizer (#8617)
This will introduce Canonicalizer for TFPush node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
[neurun] Support Gather operation on cpu backend (#8399)
* Added Gather kernel on cker
* Changed axis Gather param
* Fixed other parts with Gather
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 30 Oct 2019 10:11:17 +0000 (19:11 +0900)]
[nnfw-gbs] nnfw-devel package config file (#8518)
Introduce nnfw-dev package config file (nnfw.pc)
Change include path to {prefix}/include/nnfw
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 10:06:26 +0000 (19:06 +0900)]
[exo] Removing EnableTFLDialect knob (#8615)
This removes EnableTFLDialect knob - related files are modified.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 10:05:33 +0000 (19:05 +0900)]
[moco] push_node implementation (#8616)
This will introduce push_node implementation that retuns TFPush node with given GraphOutputIndex
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 10:05:10 +0000 (19:05 +0900)]
[tfl-inspect] Introduce DumpConv2DWeight (#8611)
* [tfl-inspect] Introduce DumpConv2DWeight
This will introduce DumpConv2DWeight to dump Conv2D series node weight input type
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* fix namespace
* update comment
* use buildin_code
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 09:37:58 +0000 (18:37 +0900)]
[moco] Shape and type inference for TFPush (#8613)
This will add shape and type inference for TFPush node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 07:53:44 +0000 (16:53 +0900)]
[moco] Introduce TFPush IR (#8598)
This will introduce TFPush IR that will be used as graph output
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 30 Oct 2019 07:14:09 +0000 (16:14 +0900)]
[lib/misc] Handle scalar input/output (#8607)
Fix error when object is scalar
This will fix error nnapi_test when input/output is scalar
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 06:51:00 +0000 (15:51 +0900)]
[tfl-inspect] Readme section for operators option (#8605)
This will introduce section in Readme file for operators option
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 06:50:36 +0000 (15:50 +0900)]
[tfl-inspect] Readme for conv2d_weight (#8606)
This will update Readme with conv2d_weight option
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 30 Oct 2019 06:32:17 +0000 (15:32 +0900)]
[exo] Rename file name for type inference test (#8604)
This commit renames following file:
TFLTypeInference.test.cpp -> TFLTypeInferenceRule.test.cpp
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 30 Oct 2019 06:27:08 +0000 (15:27 +0900)]
[tf2tflite-model-test] Do NOT rename runner.sh (#8599)
Now, copied script runner is named as "runner.sh" instead of "run".
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 30 Oct 2019 06:26:54 +0000 (15:26 +0900)]
Introduce tf2circle conversion test (#8593)
This commit introduces tf2circle conversion test.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
[neurun] initialize logging only once (#8570)
Currently logging::Context is instantiated inside each translation unit separately
Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 01:48:35 +0000 (10:48 +0900)]
[tfl-inspect] Add more examples with sort and uniq (#8579)
This will add xample using pipe with sort and uniq
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 30 Oct 2019 01:33:06 +0000 (10:33 +0900)]
[moco-tf] Remove unused header (#8578)
This will remove unused header in TestHelper
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 30 Oct 2019 00:13:53 +0000 (09:13 +0900)]
Introduce tf2circle model test (#8551)
This commit introduces tf2circle model test.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 23:45:56 +0000 (08:45 +0900)]
Remove tf2tflite test (#8562)
This commit removes tf2tflite_test in `compiler/tf2tflite` directory.
Note that this test is fully moved to `tf2tftlie-integration-test`.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 29 Oct 2019 23:41:57 +0000 (08:41 +0900)]
[moco-tf] Remove TFShapeInferenceHelper (#8576)
This will remove not used anymore TFShapeInferenceHelper file that migrated to moco-support
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
[mir-tflite-importer] Fix quantization creation with various data types (#8552)
* Fixed creation quantization with empty quantization attribute on
tflite
* Removed data type checks
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
[nnc] Remove file with obsolete documentation (#8574)
After nncc and nnfw repositories merge this file is not valid, because we use unified nnas format
Signed-off-by: Efimov Alexander <a.efimov@samsung.com>
Move static vector `dimensions` inside `main()` (#8571)
There is no need for it to have static lifetime
Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 29 Oct 2019 11:31:27 +0000 (20:31 +0900)]
[ncnn-backend] Support add operation (#8565)
- NCNN binary-op kernel porting (disable same input/output tensor support)
- NCNN backend add operation support
- Support non-broadcasting
- Need alignment matching when rank is upper 3
- Enable unittest, related validation test
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
[neurun] Fix subgraph creating for split (#8488)
It merges split with one of the next operations. Because of that other
outputs of ths split aren't seen as outputs of a node and in LinearExecutor
topological sort doesn't work correct and it causes failure in memory
management because incorrect order of startLifetime/finishLifetime,
notifyFirstUse/notifyLastUse,...
Signed-off-by: Poshshoev Dilshodzhon <d.poshshoev@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 29 Oct 2019 08:42:53 +0000 (17:42 +0900)]
[nnfw-ncnn] Fix bug in Mat class (#8564)
Rename mat class code file mat.cpp to mat.cc - not compiled
Fix build error by call function in cpu.h
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 29 Oct 2019 07:56:04 +0000 (16:56 +0900)]
[moco-tf] Use TFShapeInferenceHelper from moco another one (#8557)
This will update to use TFShapeInferenceHelper from moco
- another update for Canonicalizers
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 07:44:37 +0000 (16:44 +0900)]
[nnpkg_test] Add missing option for nnpkg_test.sh (#8556)
This commit will fix `nnpkg_test.sh` to get proper options
Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
여지환/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 29 Oct 2019 04:04:03 +0000 (13:04 +0900)]
Fix format script to use correct clang-format (#8558)
Fix script to call correct version of clang-format that system supports
Signed-off-by: JiHwan Yeo <jihwan.yeo@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 29 Oct 2019 03:51:21 +0000 (12:51 +0900)]
[nnfw-ncnn] Restructure directory and introduce mat class (#8532)
Restructure ncnn directory
- Introduce internal srcn directory to divide with original ncnn directory
- Introduce mat.cpp and mat.h
- Update copyright
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 03:22:42 +0000 (12:22 +0900)]
[exo] Remove operation conversion Knobs (#8517)
* [exo] Remove operation conversion Knobs
This commit removes operation conversion Knobs. Available canonical
nodes would be converted to TFL dialect nodes with this commit by
default.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Remove unused, deprecated function
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 03:16:50 +0000 (12:16 +0900)]
[exo] Update Circle operation exporter (#8549)
This commit updates Circle operation exporter to have same coverage of
TFlite operation exporter. Following operation export stages are
implemented:
- locoex::TFLConcatenation
- locoex::TFLDepthwiseConv2D
- locoex::TFLTransposeConv
- loco::TensorConstantPad
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 29 Oct 2019 01:40:52 +0000 (10:40 +0900)]
Add Squeeze in base_loader (#8524)
- Add Squeeze in base_loader
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 00:51:37 +0000 (09:51 +0900)]
[android_jni] Add missing builtin_ops_jni.cc (#8548)
This file should have been committed from #8026 but it was not added by
accident. Target `tensorflowlite_jni` would not build without this file.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 29 Oct 2019 00:50:56 +0000 (09:50 +0900)]
Update test project in collect resource script (#8546)
`tf2tflite_test` would be deprecated, and replaced with
`tf2tflite_integration_test`. This commit updates regarding this change
for collect resource script.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 29 Oct 2019 00:04:32 +0000 (09:04 +0900)]
[moco-tf] Use TFShapeInferenceHelper from moco (#8545)
This will update to use TFShapeInferenceHelper from moco
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
[mir/interpreter] Quantized operations implementation (#8317)
* Supported quantized operations: Add, Conv2D, DepthwiseConv2D
* Fixed interpreter for quantizations
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 10:08:26 +0000 (19:08 +0900)]
[tfl-inspect] Remove unused header inc (#8544)
This will remove unused header includes
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 09:47:43 +0000 (18:47 +0900)]
[tf2tflite-integration-test] adding test for DepthwiseConv2D bias fusion (#8542)
This adds four nets to test DepthwiseConv2D bias fusion.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 09:39:18 +0000 (18:39 +0900)]
[moco-tf] Remove unused IR headers (#8541)
This will remove not used anymore IR headers that only redirects to moco IR
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 09:18:08 +0000 (18:18 +0900)]
[exo] Revising setCandidate() of FuseBiasAddPass (#8538)
setCandidate() of FuseBiasAddPass was revised to support FormerT and LatterT, and removed names related to conv2d.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 09:03:20 +0000 (18:03 +0900)]
[moco-tf] Remove unused GraphBuilder redirect headers (#8534)
This will remove not used anymore GraphBuilder redirect header files
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 09:02:59 +0000 (18:02 +0900)]
[circle-inspect] Rename "Load.cpp" as "Model.cpp" (#8535)
"Load.cpp" includes the implementation of "Model.h".
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 08:26:53 +0000 (17:26 +0900)]
[moco-tf] Remove Importer.h (#8533)
This will remove not used anymore Importer.h file
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 08:23:13 +0000 (17:23 +0900)]
[exo] moving dynamic cast check in setCandidate into visitors (#8531)
This moves dynamic cast check in setCandidate into visitors.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 08:20:25 +0000 (17:20 +0900)]
[circle-inspect] Dump circle file (#8529)
* [circle-inspect] Dump circle file
This will enable dump circle file operators
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* remove unused headers
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 28 Oct 2019 08:14:00 +0000 (17:14 +0900)]
[tfl-inspect] Rename "Load.cpp" as "Model.cpp" (#8528)
"Load.cpp" includes the implementation of "Model.h".
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 08:12:40 +0000 (17:12 +0900)]
[moco-tf] Remove Dialect files (#8527)
This will remove not used anymore Dialect folder files
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 28 Oct 2019 08:10:20 +0000 (17:10 +0900)]
Introduce tf2tflite integration test (#8523)
This commit introduces tf2tflite integration test:
tf2tflite-integration-test directory, and tf2tflite_integration_test
test executable
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 08:10:04 +0000 (17:10 +0900)]
[exo] revising Fuse class to use FormerT and LatterT (#8530)
This revises Fuse class in FuseBiasAddPass.cpp to use FormerT and LatterT.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 28 Oct 2019 07:39:19 +0000 (16:39 +0900)]
[infra/cmake] add TensorFlowSource 1.13.1 (#8519)
This commit adds TensorFlowSource 1.13.1
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 28 Oct 2019 07:38:40 +0000 (16:38 +0900)]
[circle-inspect] Introduce Load Reader and Model (#8525)
* [circle-inspect] Introduce Load Reader and Model
This will introduce circle model Load and Reader using mio-circle
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* fix comment
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 28 Oct 2019 07:35:10 +0000 (16:35 +0900)]
[tf2circle] Set shape information in signature at tf2circle (#8484)
Until now, signature in `tf2circle` didn't have shape information.
This commit will set the shape information in signature at `tf2circle`
Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>