[neurun] Move OpCode hash to OpCode file (#9001)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 18 Nov 2019 07:37:13 +0000 (16:37 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 18 Nov 2019 07:37:13 +0000 (16:37 +0900)
commitac2e839b014773524994714521495d1f27ddd4c2
treef689fae40cdb51042fb3fc220961801129229300
parent6e832767c7ddbb0abd2b19d955f5a68aaee2feab
[neurun] Move OpCode hash to OpCode file (#9001)

Since OpCode hash can be used in different modules, move it and put it
as `std::hash` specialization so we do not need to pass it to containers
manually.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtime/neurun/core/include/model/OpCode.h
runtime/neurun/core/src/exec/interp/Interpreter.cc