[neurun] Workaround for operand::Set iteration (#3196)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 17 Oct 2018 01:14:51 +0000 (10:14 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 17 Oct 2018 01:14:51 +0000 (10:14 +0900)
commitb56ec075647653c80ff5388c823916aaa6195d90
tree848e230305e5b9af3da72cddaadf07883d352f0f
parent01a1f7fe1622731bb7ef8f2ab8dc58042cee057d
[neurun] Workaround for operand::Set iteration (#3196)

`OperandPass` sometimes manipulate the set while iteration, this
workaround forces the `iterate` method to iterate only elements that
has been existed from the beginning of the iteration.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/src/graph/operand/Set.cc