Skip to content

Commit

Permalink
Revert "Added backward compatibility tests"
Browse files Browse the repository at this point in the history
This reverts commit afdd7af.
  • Loading branch information
mryzhov committed Feb 21, 2023
1 parent a504e70 commit d0a2357
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 939 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_gna/src/gna_plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class GNAPlugin : public InferenceEngine::IInferencePlugin {
}

void Export(const std::string& fileName);
virtual void Export(std::ostream& networkModel);
void Export(std::ostream& networkModel);
InferenceEngine::IExecutableNetworkInternal::Ptr ImportNetwork(
const std::string& modelFileName,
const std::map<std::string, std::string>& config) override {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gna/src/scale_factor_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static void ApplyScaleFactorsLegacy(const std::vector<float>& input_scale_factor
for (size_t id = 0; id < inputs.size(); ++id) {
log::warning() << "Using input scale factor: " << input_scale_factors[id]
<< ", defined in configuration for input id: " << id << std::endl;
if (input_scale_factors.size() > id && !AreFpEq(input_scale_factors[id], kScaleFactorDefault)) {
if (input_scale_factors.size() > id) {
inputs.Get().at(id).scale_factor = input_scale_factors[id];
} else {
log::warning() << "Using default input scale factor: " << kScaleFactorDefault << " for input id: " << id
Expand Down
9 changes: 0 additions & 9 deletions src/plugins/intel_gna/tests/functional/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,11 @@ set(TARGET_NAME ov_gna_func_tests)
addIeTargetTest(
NAME ${TARGET_NAME}
ROOT ${CMAKE_CURRENT_SOURCE_DIR}
INCLUDES
${CMAKE_CURRENT_SOURCE_DIR}
$<TARGET_PROPERTY:openvino_intel_gna_plugin,INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:inference_engine_legacy,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:libGNA::API,INTERFACE_INCLUDE_DIRECTORIES>
DEPENDENCIES
openvino_intel_gna_plugin
LINK_LIBRARIES
funcSharedTests
openvino_intel_gna_plugin_test_static
inference_engine_legacy_s
libGNA
ADD_CLANG_FORMAT
ADD_CPPLINT
LABELS
GNA
)

This file was deleted.

Loading

0 comments on commit d0a2357

Please sign in to comment.