[Test] Add unittest_nntrainer_models
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 20 Oct 2020 10:36:37 +0000 (19:36 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 26 Oct 2020 01:46:26 +0000 (10:46 +0900)
commit99c6df6102532e78eb63750073454ed74f7bab62
treee5689d4d18085a55e4525baefbd1643de8b5223b
parentef071c4ea598dd5c083e167bd16064720b84766e
[Test] Add unittest_nntrainer_models

This patch generates `NodeWatcher` and `GraphWatcher` to make a test for
unittest_nntrainer_model test.

**Changes proposed in this PR:**
- Add multi iteration test
- Add gtest scafolding

**Additional Patch will be followed**
- Handle loss + activation merge scenario
- Add param test
- Add mnist as a test
- Add final inference result

**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>
test/unittest/meson.build
test/unittest/unittest_nntrainer_models.cpp [new file with mode: 0644]