Moved QueryNetworkResult to ie_common.h (#1648)
This commit is contained in:
parent
7a314f216a
commit
b9c3825897
@ -15,6 +15,7 @@
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace InferenceEngine {
|
||||
/**
|
||||
@ -234,6 +235,29 @@ struct ResponseDesc {
|
||||
char msg[4096] = {};
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Responce structure encapsulating information about supported layer
|
||||
*/
|
||||
struct QueryNetworkResult {
|
||||
/**
|
||||
* @brief A map of supported layers:
|
||||
* - key - a layer name
|
||||
* - value - a device name on which layer is assigned
|
||||
*/
|
||||
std::map<std::string, std::string> supportedLayersMap;
|
||||
|
||||
/**
|
||||
* @brief A status code
|
||||
*/
|
||||
StatusCode rc = OK;
|
||||
|
||||
/**
|
||||
* @brief Response message
|
||||
*/
|
||||
ResponseDesc resp;
|
||||
};
|
||||
|
||||
/** @brief This class represents StatusCode::GENERIC_ERROR exception */
|
||||
class GeneralError : public std::logic_error {
|
||||
using std::logic_error::logic_error;
|
||||
|
@ -22,28 +22,6 @@
|
||||
|
||||
namespace InferenceEngine {
|
||||
|
||||
/**
|
||||
* @brief Responce structure encapsulating information about supported layer
|
||||
*/
|
||||
struct QueryNetworkResult {
|
||||
/**
|
||||
* @brief A map of supported layers:
|
||||
* - key - a layer name
|
||||
* - value - a device name on which layer is assigned
|
||||
*/
|
||||
std::map<std::string, std::string> supportedLayersMap;
|
||||
|
||||
/**
|
||||
* @brief A status code
|
||||
*/
|
||||
StatusCode rc = OK;
|
||||
|
||||
/**
|
||||
* @brief Response message
|
||||
*/
|
||||
ResponseDesc resp;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief This class represents Inference Engine Core entity.
|
||||
*
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include <ie_iextension.h>
|
||||
#include <ie_icnn_network.hpp>
|
||||
#include <ie_core.hpp>
|
||||
#include <ie_icore.hpp>
|
||||
|
||||
#include <map>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <ie_parameter.hpp>
|
||||
#include <cpp/ie_cnn_network.h>
|
||||
#include <cpp/ie_executable_network.hpp>
|
||||
#include <ie_core.hpp> // for QueryNetworkResult
|
||||
|
||||
#include "threading/ie_itask_executor.hpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user