diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index 3e679550..9752a565 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -116,6 +116,7 @@ set(TESTSRC Source/Tests/FullyConnected.cpp Source/Tests/Pooling.cpp Source/Tests/Softmax.cpp + Source/Tests/NNSupport.cpp ) target_include_directories(TestingLib PRIVATE Include/Tests) diff --git a/Testing/Include/Tests/NNSupport.h b/Testing/Include/Tests/NNSupport.h new file mode 100755 index 00000000..6f90b6b2 --- /dev/null +++ b/Testing/Include/Tests/NNSupport.h @@ -0,0 +1,14 @@ +#include "Test.h" +#include "Pattern.h" +class NNSupport:public Client::Suite + { + public: + NNSupport(Testing::testID_t id); + void setUp(Testing::testID_t,std::vector& paramsArgs,Client::PatternMgr *mgr); + void tearDown(Testing::testID_t,Client::PatternMgr *mgr); + private: + #include "NNSupport_decl.h" + + + + }; \ No newline at end of file diff --git a/Testing/Source/Tests/NNSupport.cpp b/Testing/Source/Tests/NNSupport.cpp new file mode 100755 index 00000000..550d96d9 --- /dev/null +++ b/Testing/Source/Tests/NNSupport.cpp @@ -0,0 +1,39 @@ +#include "NNSupport.h" +#include "Error.h" +#include "arm_nnfunctions.h" +#include "Test.h" + +#include + + + + void NNSupport::test_nn_elementwise_add_s8() + { + + } + + + + void NNSupport::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) + { + + switch(id) + { + case NNSupport::TEST_NN_ELEMENTWISE_ADD_S8_1: + { + + } + break; + + + + } + + + + } + + void NNSupport::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) + { + + } diff --git a/Testing/desc.txt b/Testing/desc.txt index 9238fb95..a8ce3d75 100644 --- a/Testing/desc.txt +++ b/Testing/desc.txt @@ -464,6 +464,15 @@ group Root { arm_softmax_with_batch_q7 Test 2:test_softmax_with_batch_q7 } } + + suite NNSupport { + class = NNSupport + folder = SupportQ7 + + Functions { + test_nn_elementwise_add_s8 Test 1:test_nn_elementwise_add_s8 + } + } } }