cleaned cmake for the Auto-Batch
This commit is contained in:
1 parent
f5428b72fa
commit
bdf688a147
2 files changed
+3
-3
No files matched your search
@@ -13,7 +13,7 @@ ie_add_plugin(NAME ${TARGET_NAME}
|
||||
SOURCES ${SOURCES} ${HEADERS}
|
||||
VERSION_DEFINES_FOR auto_batch.cpp)
|
||||
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE ngraph inference_engine_transformations inference_engine_legacy)
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE ngraph inference_engine_transformations)
|
||||
|
||||
set_ie_threading_interface_for(${TARGET_NAME})
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "ie_metric_helpers.hpp"
|
||||
#include <cpp_interfaces/interface/ie_internal_plugin_config.hpp>
|
||||
#include <legacy/ie_util_internal.hpp>
|
||||
#include <ie_ngraph_utils.hpp>
|
||||
#include <ie_plugin_config.hpp>
|
||||
#include <ie_icore.hpp>
|
||||
#include <ie_performance_hints.hpp>
|
||||
@@ -633,7 +633,7 @@ InferenceEngine::IExecutableNetworkInternal::Ptr AutoBatchInferencePlugin::LoadN
|
||||
InferenceEngine::SoExecutableNetworkInternal executableNetworkWithBatch;
|
||||
if (metaDevice.batchForDevice > 1) {
|
||||
try {
|
||||
CNNNetwork clonedNetwork(InferenceEngine::cloneNetwork(network));
|
||||
CNNNetwork clonedNetwork(InferenceEngine::details::cloneNetwork(network));
|
||||
const InputsDataMap inputInfo = clonedNetwork.getInputsInfo();
|
||||
ICNNNetwork::InputShapes shapes = clonedNetwork.getInputShapes();
|
||||
for (const InputsDataMap::value_type &item : inputInfo) {
|
||||
|
||||
Reference in new issue
Block a user