[Bug] Fix the nhwc test bug
authorjijoong.moon <jijoong.moon@samsung.com>
Thu, 10 Aug 2023 01:29:44 +0000 (10:29 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 21 Aug 2023 06:29:23 +0000 (15:29 +0900)
commit6c2b586232d2a2891baedf8b64a64303b8b37dc9
tree9049529135f660ef7f3a137cd4687760115a23cc
parentadf87497fc461f0ff71386d348de26a78bd13103
[Bug] Fix the nhwc test bug

We do need to add the format information during layer test.
This pr add the format change for the input tensor.

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

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
nntrainer/layers/fc_layer.cpp
nntrainer/tensor/tensor.h
test/unittest/layers/layers_golden_tests.cpp
test/unittest/layers/unittest_layers_fully_connected.cpp