refactor cpu func unit tests (#12711)
* Refactor cpuFuncTests and cpuUnitTests to components folder. Signed-off-by: Yan, Xiping <xiping.yan@intel.com> * Build pass. Signed-off-by: Yan, Xiping <xiping.yan@intel.com> * Add macro to judge if enable func test. Signed-off-by: Yan, Xiping <xiping.yan@intel.com> * Rename func_test to functional; Rename unit_test to unit; Add "enable_tests" for unit; Signed-off-by: Yan, Xiping <xiping.yan@intel.com> Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
This commit is contained in:
parent
10bd602987
commit
11a869d4d1
@ -37,6 +37,12 @@ if(TBB_FOUND AND TBB_VERSION VERSION_GREATER_EQUAL 2018 AND TBB_VERSION VERSION_
|
||||
endif()
|
||||
|
||||
add_subdirectory(thirdparty)
|
||||
if(ENABLE_TESTS)
|
||||
add_subdirectory(tests/unit)
|
||||
endif()
|
||||
if(ENABLE_FUNCTIONAL_TESTS)
|
||||
add_subdirectory(tests/functional)
|
||||
endif()
|
||||
|
||||
# create plugin
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
using namespace ngraph;
|
||||
|
||||
InferenceEngine::CNNNetwork getTargetNetwork() {
|
||||
inline InferenceEngine::CNNNetwork getTargetNetwork() {
|
||||
ngraph::Shape shape = {1, 200};
|
||||
ngraph::element::Type type = ngraph::element::f32;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user