[unittest] Add data type for testing tensor
authorDonghyeon Jeong <dhyeon.jeong@samsung.com>
Wed, 19 Jul 2023 01:06:37 +0000 (10:06 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 21 Aug 2023 06:29:23 +0000 (15:29 +0900)
commit6435dad08b781add2296dabade315a62e716b671
treecbe9f720f6c0a021f72d84de7a5a508b2defa704
parent7ff70971d6887689cf62d99839f5f5bcf84b3b1c
[unittest] Add data type for testing tensor
- add Tdatatype to avoid error
- default datda type is FP32
- Tformat & Tdatatype is used to create TensorType

Signed-off-by: Donghyeon Jeong <dhyeon.jeong@samsung.com>
test/include/nntrainer_test_util.h
test/nntrainer_test_util.cpp
test/unittest/unittest_nntrainer_tensor_fp16.cpp