[enco] Properly insert setOperandValue calls (#2439)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 29 Nov 2018 01:30:05 +0000 (10:30 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 29 Nov 2018 01:30:05 +0000 (10:30 +0900)
commit744b69963317c1eee4e818717fb3d9780f05f9ba
treea9ef343dc3e01d47cb4b3e6cd5785c76ba87da4e
parentffeb6044669d1c967f40d26762fb7270c78296c8
[enco] Properly insert setOperandValue calls (#2439)

With the current implementation, it is possible that some setOperandValue
calls are missing during ANN IR construction.

With this commit, enco now inserts setOperandValue call for every operand
with constant weight.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/core/src/ANN/Binder.h
contrib/enco/core/src/Transforms/Split.cpp