[ Tensor ] Support NHWC for dot, add/multiply_strided and other ops
authorAdwaith Anand <adwaith.a@samsung.com>
Wed, 28 Jun 2023 10:19:43 +0000 (15:49 +0530)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 17 Jul 2023 00:01:27 +0000 (09:01 +0900)
commit2ac81e861587db73ceb9df2661b4b64a7b1c95bd
treee9367069b46827b48f2654559486a39e77beefbd
parent449c2eb2a4070dc10757a966d681f5636f487afd
[ Tensor ] Support NHWC for dot, add/multiply_strided and other ops

This PR includes changes of Tensor and TensorDim to support NHWC
computation for dot, add_strided, multiply_strided, cat, split,
and transpose. It also includes unittests to evaluate.

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

Signed-off-by: Adwaith Anand <adwaith.a@samsung.com>
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
api/ccapi/include/tensor_dim.h
nntrainer/tensor/tensor.cpp
nntrainer/tensor/tensor.h
nntrainer/tensor/tensor_dim.cpp
test/include/nntrainer_test_util.h
test/nntrainer_test_util.cpp
test/unittest/meson.build
test/unittest/unittest_nntrainer_tensor.cpp
test/unittest/unittest_nntrainer_tensor_nhwc.cpp [new file with mode: 0644]