[enco] Set subnet output correctly on branching (#2309)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 15 Nov 2018 23:07:52 +0000 (08:07 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 15 Nov 2018 23:07:52 +0000 (08:07 +0900)
commit35c12774241f4d2b6fea0bcc7288dda973045709
tree3917ebc512db64d52ec0ba00896a53dc23f5d3f0
parent5f1a7535af0f5b6bc3ebe36b33826a16f38fbfb9
[enco] Set subnet output correctly on branching (#2309)

The current implementation specifies a bag as a subnet output if the subnet
accesses it and this bag is accessed outside of this subnet.

It turns out that this algorithm may specify a network input as a subnet output
as it does not consider this bag is updated by this subnet.

This commit fixes this bug and adds a related test.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/core/src/Transforms/Split.cpp
contrib/enco/test/tflite/Regression_0000/INFERENCE [new file with mode: 0644]
contrib/enco/test/tflite/Regression_0000/test.recipe [new file with mode: 0644]