#include <ostream>
#include <string>
#include <vector>
+#include <map>
namespace InferenceEngine {
/**
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;
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.
*
* It can throw exceptions safely for the application, where it is properly handled.
#include <ie_iextension.h>
#include <ie_icnn_network.hpp>
-#include <ie_core.hpp>
#include <ie_icore.hpp>
#include <map>
#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"