[IniSerializer] Add `serialize` to ini
authorJihoon Lee <jhoon.it.lee@samsung.com>
Mon, 12 Apr 2021 09:33:10 +0000 (18:33 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 6 May 2021 12:57:37 +0000 (21:57 +0900)
commit21fa2ed3a6d4d3069698686e13b98326888982d1
tree6861b5dac2637dd0cd17c8c1bbf394ec0d722973
parentc5dc689a1a85df35cd2e7c3b0171493ffe8d03e4
[IniSerializer] Add `serialize` to ini

**Changes proposed in this PR:**
- implements ini interpreter::serialize
- add corresponding test (reference shoud be equal to
serialize->deserialized graph)
- Fix some const correctness

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/compiler/ini_interpreter.cpp
nntrainer/graph/network_graph.cpp
nntrainer/graph/network_graph.h
nntrainer/utils/ini_wrapper.cpp
nntrainer/utils/ini_wrapper.h
test/unittest/compiler/unittest_interpreter.cpp