Fix NeuralNetwork::finalize
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 14 Jul 2020 04:01:49 +0000 (13:01 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 15 Jul 2020 01:32:27 +0000 (10:32 +0900)
commit95e124c59f596f6e01e525e387657e1e37a43f65
tree6461ad2f8048e2dc08fef928cead75ff4c6734a5
parente311ec0ac218015f7aff2894cd3f7be2fe1ce751
Fix NeuralNetwork::finalize

Delete layer in finalize had wrong index. This PR fix this issue

**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/src/neuralnet.cpp