[ Tensor ] Add default Tensor format in Tensor constructor
authorjijoong.moon <jijoong.moon@samsung.com>
Mon, 3 Apr 2023 00:09:24 +0000 (09:09 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 6 Apr 2023 07:54:04 +0000 (16:54 +0900)
commit344f6dd0948744a525c629d3e06d5158e0f8d8b8
tree23537121534a2fa98cb3e42ed393063685cce88c
parentf28cda3d4185ced0a7759cda83688940835ead4e
[ Tensor ] Add default Tensor format in Tensor constructor

This PR includes the default Tensor format (NCHW) in Tesnor
Constructor. It also includes the unittest cases for HHWC Tensor
format. Even though it has Tensor format property, but still it needs
to implement the actual tensor operation.

**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/tensor/tensor.h
nntrainer/tensor/tensor_dim.cpp
test/include/nntrainer_test_util.h
test/nntrainer_test_util.cpp
test/unittest/unittest_nntrainer_tensor.cpp