Introduce nnfw::util::tensor::Object (#505)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 10 Apr 2018 08:10:12 +0000 (17:10 +0900)
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Tue, 10 Apr 2018 08:10:12 +0000 (17:10 +0900)
commit14b263339f7c9a92dd285aa29d31e906e8d7bc48
tree98c2189e41d1dbe61ff81139d9c8a3923cf148af
parent72f8a6192891d890f2f8f4882f777a8f7d6daead
Introduce nnfw::util::tensor::Object (#505)

This commit introduces nnfw::util::tensor::Object, which makes it easy
to generate a random tensor object for testing.

This commit also simplifies nnapi_test and nnapi_unintest_conv_1
implementations using this new helper class.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
include/util/tensor/NonIncreasingStride.h
include/util/tensor/Object.h [new file with mode: 0644]
tools/nnapi_test/src/nnapi_test.cc
tools/nnapi_unittests/tests/conv_1.cpp