summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-17Null-terminating check for backend conf api (#7516)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자2-5/+34
* Null-terminating check for backend conf api - Add null terminaing function - Add check routine Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com> * Give name to arg max length in backend conf - Add macro for max length - 32 for backend name, 64 for op name * fix format * add null check * add null check to nnfw_set_op_backend * Check null inside nnfw_session
2019-09-17[moco-tf] get_node_shape helper in copy_shapedata (#7528)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+16
This will introduce get_node_shape helper in copy_shapedata of FixShape Signed-off-by: Jonghyun Park <jh1302.park@samsung.com> Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[moco-tf] copy shape for binary input nodes (#7525)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-12/+6
This will update FixShape to use correct copy_shapedata() for binary input nodes Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17Remove "moco" module (#7509)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자3-15/+0
No compiler module depends on "moco" module. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[plier-tf] Declare dependent library visibility (#7511)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자1-2/+3
Let's declare the visibility of dependent libraries explicitly. This change allows us to introduce PRIVATE dependencies. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[plier-tf] Remove unnecessary const qualifier (#7513)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자2-4/+4
"const" qualifier on function return type has no effect. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[logo] Simplifying `BiasEncode - BiasDecode` subgraph (#7481)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+12
* [logo] Simplifying `BiasEncode - BiasDecode` subgraph With this commit, logo will Simplifying `BiasEncode - BiasDecode` subgraph into loco::Forward Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com> * make code shorter * remove 'using namespace loco;'
2019-09-17Make to support ArgMax op for acl neon (#7515)장지섭/On-Device Lab(SR)/Engineer/삼성전자8-1/+243
This commit makes to support ArgMax op for acl neon except int32 type. - Introduce NEArgMinMax layer - Apply NEArgMinMax layer for neurun Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
2019-09-17[tflite2circle] Introduce tflite2circle (#7483)이상규/On-Device Lab(SR)/Principal Engineer/삼성전자3-0/+129
It introduces `tflite2circle` tool. Its input is `tflite` and output is `circle`. Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
2019-09-17[moco-tf] copy_shapedata with two inputs (#7499)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+58
* [moco-tf] copy_shapedata with two inputs This will introduce copy_shapedata that can receive two inputs and return shape from broadcast algorithm for binary operation nodes Signed-off-by: SaeHie Park <saehie.park@samsung.com> * add note
2019-09-17[exo-tflite] Enhancing TestGraph.h (#7469)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자1-4/+31
* [exo-tflite] Enhancing TestGraph.h 1) Adds more operations. 2) changed the symantics of append() with no arg. Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com> * typo, adds better comment
2019-09-17[exo-tflite] Introduce Div and Sub (#7514)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자4-8/+66
This will introduce IR for Div and Sub Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17Add ness dir into tizen test pacakge (#7478)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자1-2/+6
- Add infra dir - Fix tests/framework install position Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
2019-09-17[loco] Introduce GraphOutputIndexQueryService (#7479)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자4-3/+71
This commit introduces GraphOutputIndexQueryService interface, and revises output_nodes helper to use this new service interface. This commit also implements GraphOutputIndexQueryService for canonical dialect in order to guarantee backward compatibility. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[loco] Extend CanonicalShapeInferenceRule with v2 API (#7468)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자3-3/+113
This commit extends CanonicalShapeinferenceRule with v2 API implementation. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[moco-tf] Read Knob from top-level Canonicalizer (#7495)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자6-21/+6
Several canonicalization implementations shows different behavior according to Knob configuration. This design makes it a bit difficult to test each implementation in isolation. To address this issue, this commit extracts Knob control code and put them in top-level Canonicalizer. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[locop] Show data type if possible (#7492)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자1-2/+42
* [locop] Show data type if possible LinearV1 Graph Formatter now shows the data type of each node. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com> * Fix a typo
2019-09-17[exo-tflite] Renaming get_knob -> get (#7510)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자4-10/+10
`get_knob` was renamed to `get` since it always use with knob name and `knob` is duplicate. (e.g., `get<Knob::EnableTFLDialect>`) Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
2019-09-17Add neurun test scripts for tizen (#7504)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자2-0/+68
- neurun test script for acl_cl and mixed Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
2019-09-17Run neurun test on tizen (#7505)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자1-0/+6
- Run new neurun test script on tizen - Remove unnecessary zipped file Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
2019-09-17Update nnapi (#7482)오형석/On-Device Lab(SR)/Staff Engineer/삼성전자2-99/+61
Use nnapi in android-10 r2 release Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
2019-09-17[nnpkg] rename schema name and update specification (#7484)이상규/On-Device Lab(SR)/Principal Engineer/삼성전자2-1/+5
nnpackage can have two kinds of models. `nnpackge_model.fbs` is for `circle`. Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
2019-09-17Use string as backend configuration arg (#7500)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자4-90/+20
* Use string as backend configuration arg - remove unness. enums for backend/operation - Use string as backend api arguments Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com> * Fix backend conf api - Remove unness. functions - Reflect new backend conf api Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com> * Use const char* in c++ header
2019-09-17Update tizen's skiplist (#7475)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자1-49/+14
* Update tizen's skiplist Add arm-linux's skiplist into tizen's Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com> * Use arm-ubuntu's skiplist on tizen - Now, tizen's skiplist is the same as ubuntu's
2019-09-17[locomotiv] Simplify ReLU6 implementation (#7506)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자1-0/+15
Let's make ReLU6 similar to other element-wise unary operations. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[loco] Type inference for TransposedConv2D (#7508)박천교/On-Device Lab(SR)/Engineer/삼성전자1-0/+1
This commit introduces type inference for TransposedConv2D Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
2019-09-17[mocotest-tf] Add regular testcases (#7488)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자1-0/+9
This commit registers several testcases as mocotest-tf. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[loco] TransposedConv2D test case (#7498)박천교/On-Device Lab(SR)/Engineer/삼성전자1-0/+40
This commit adds test case for TransposedConv2D in loco Service Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
2019-09-17[exo-tflite] Modifying logging of each TFL nodes (#7507)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자1-11/+25
1) "TFL.xxx" -> "tfl.xxx", 2) op name printing in one method (opname()) Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
2019-09-17[locomotiv] Erase annotated data before execute (#7496)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자21-23/+2
All the execute method implementations invoke "erase_annot_data" internally. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-17[exo-tflite] Comment for TensorBroadcast (#7473)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+2
* [exo-tflite] Comment for TensorBroadcast This will add comment for TensorBroadcast in CanonicalNodeConverter template list as an ite Signed-off-by: SaeHie Park <saehie.park@samsung.com> * edit message * fix typo and sentence
2019-09-17[exo-tflite] Resolve TensorBroadcast for Mul (#7491)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-2/+13
This will add handler for TFLMul node in TensorBroadcastConverter Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[exo-tflite] adding FeatureBiasAdd converter (#7467)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자3-1/+117
* [exo-tflite] adding FeatureBiasAdd converter This adds FeatureBiasAdd converter, which converts loco::FeatureBiasEEdd to locoex::TFLAdd. Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com> * typo
2019-09-17[moco-tf] Broadcast shape for FixShape (#7487)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+100
This will introduce methods for shape broadcast in FixShapeTransform that will be used in shape inference of binary operation nodes with inputs having different shapes Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[exo-tflite] Add EltwiseMul and TensorBroadcast to Convert list (#7474)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자2-2/+8
This will update conversion list to convert EltwiseMul and TensorBroadcast node Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[exo-tflite] Shape and Type inference for TFLMul (#7470)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자2-2/+10
This will add Shape and Type inference for TFLMul node Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[exo-tflite] Test of broadcast algorithm (#7471)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+76
This will add a test of broadcast algorithm with TFLAdd Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-17[loco] Delete deprecated Pad.h (#7466)채성우/On-Device Lab(SR)/Engineer/삼성전자1-22/+0
This commit deletes deprecated Pad.h. Signed-off-by: seongwoo <sw4670.chae@samsung.com>
2019-09-17[moco-tf] Introduce as_node_shape (#7476)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자1-0/+23
This will introduce as_node_shape() method in FixShapeTransform that returns loco::NodeShape from ShapeInferenceData Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-16[nnc] Remove backend passes (#7486)Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자99-117/+91
* Do not derive backends from `Pass`. * Move backends into separate directory. Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
2019-09-16Unify functions for elementwise ops in acl ex (#7464)장지섭/On-Device Lab(SR)/Engineer/삼성전자4-382/+423
This commit unifies functions for elementwise ops in acl ex. Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
2019-09-16[locomotiv] Clean up eltwise binary nodes (#7465)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자4-229/+0
This commit cleans up deprecated code in element-wise binary node implementations. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
2019-09-16nnfw-devel package for Tizen (#7336)이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자1-0/+22
Add nnfw-devel package on tizen. Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
2019-09-16[loco] Introduce TensorAxisSet (#7444)남궁석/On-Device Lab(SR)/Engineer/삼성전자2-0/+61
* [loco] Introduce TensorAxisSet This commit will introduce `TensorAxisSet`, which is a set of `TensorAxis` Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com> * apply feedbacks * remove redundant headers
2019-09-16[exo-tflite] Convert EltwiseMul (#7459)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자3-1/+124
This will introduce EltwiseMulConverter that converts EltwiseMul to TFLMul Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-16[exo-tflite] Converter for TensorBroadcast IR (#7432)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자2-0/+182
* [exo-tflite] Converter for TensorBroadcast IR This will introduce TensorBroadcastConverter that resolves loco::TensorBroadcast IR that meets some certain condition Signed-off-by: SaeHie Park <saehie.park@samsung.com> * make compiler happy * fix comments
2019-09-16[exo-tflite] Add EltwiseConverter to conversion list (#7463)박세희/On-Device Lab(SR)/Principal Engineer/삼성전자2-2/+4
This will add EltwiseConverter to conversion list from knob status Signed-off-by: SaeHie Park <saehie.park@samsung.com>
2019-09-16[locomotiv] Introduce Eltwise Binary Node Helper (#7461)박종현/On-Device Lab(SR)/Staff Engineer/삼성전자6-0/+108
* [locomotiv] Introduce Eltwise Binary Node Helper This commit introduces a shared helper method for for element-wise binary nodes, and rewrites the "execute" method for these nodes using this helper. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com> * Add a blank line
2019-09-16[moco-tf] Remove unused includes (#7462)박천교/On-Device Lab(SR)/Engineer/삼성전자2-7/+0
This commit removes unused includes for TFConv2D and TFConv2DBackpropInput. Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
2019-09-16[exo-tflite] adding knob for loco::FeatureBiasAdd (#7460)윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자1-1/+1
A knob for loco::FeatureBiasAdd is added. Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>