[model/test] Duplicate models test for optimization
authorParichay Kapoor <pk.kapoor@samsung.com>
Wed, 23 Dec 2020 09:55:05 +0000 (18:55 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 28 Dec 2020 07:56:00 +0000 (16:56 +0900)
commit81dd228f5dc1ada708c900b37d7fcb61fb82a495
tree756c1b7c758254f9e18c5ed480a22a0b97f5d652
parent5796a1b7a0a6f8e07d2ebb8bd47d025680da9cd5
[model/test] Duplicate models test for optimization

Run models test twice, once with all the optimizations enabled
and then once with all the optimizations disabled.

This ensures that both the modes work properly.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
test/unittest/unittest_nntrainer_models.cpp