Go to the documentation of this file.
20 namespace InferenceEngine {
94 inline std::ostream& operator<<(std::ostream& out,
const Layout& p) {
96 #define PRINT_LAYOUT(name) \
112 PRINT_LAYOUT(BLOCKED);
115 out << static_cast<int>(p);
134 inline std::ostream& operator<<(std::ostream& out,
const ColorFormat& fmt) {
136 #define PRINT_COLOR_FORMAT(name) \
141 PRINT_COLOR_FORMAT(
RAW);
142 PRINT_COLOR_FORMAT(
RGB);
143 PRINT_COLOR_FORMAT(
BGR);
144 PRINT_COLOR_FORMAT(
RGBX);
145 PRINT_COLOR_FORMAT(
BGRX);
146 PRINT_COLOR_FORMAT(
NV12);
147 PRINT_COLOR_FORMAT(
I420);
148 #undef PRINT_COLOR_FORMAT
151 out << static_cast<uint32_t>(fmt);
211 NOT_IMPLEMENTED = -2,
212 NETWORK_NOT_LOADED = -3,
213 PARAMETER_MISMATCH = -4,
221 RESULT_NOT_READY = -9,
223 INFER_NOT_STARTED = -11,
224 NETWORK_NOT_READ = -12
263 using std::logic_error::logic_error;
268 using std::logic_error::logic_error;
273 using std::logic_error::logic_error;
278 using std::logic_error::logic_error;
283 using std::logic_error::logic_error;
288 using std::logic_error::logic_error;
293 using std::logic_error::logic_error;
298 using std::logic_error::logic_error;
303 using std::logic_error::logic_error;
308 using std::logic_error::logic_error;
313 using std::logic_error::logic_error;
319 using std::logic_error::logic_error;
323 #define __PRETTY_FUNCTION__ __FUNCSIG__
325 #define __PRETTY_FUNCTION__ __PRETTY_FUNCTION__
This class represents the main Data representation node.
Definition: ie_data.h:28
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:168
char layer_type[256]
A layer type.
Definition: ie_common.h:196
std::map< std::string, std::string > supportedLayersMap
A map of supported layers:
Definition: ie_common.h:248
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:272
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:201
This class represents StatusCode::NOT_IMPLEMENTED exception.
Definition: ie_common.h:267
Represents detailed information for an error.
Definition: ie_common.h:231
@ OPTIMIZED_OUT
A layer is optimized out during graph optimization phase.
Definition: ie_common.h:170
@ RGB
RGB color format.
Definition: ie_c_api.h:206
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:297
Represents basic inference profiling information per layer.
Definition: ie_common.h:164
@ RAW
Plain blob (default), no extra color processing required.
Definition: ie_c_api.h:205
char exec_type[256]
An execution type of unit.
Definition: ie_common.h:191
@ I420
I420 color format represented as compound Y+U+V blob.
Definition: ie_c_api.h:211
@ BGRX
BGRX color format with X ignored during inference.
Definition: ie_c_api.h:209
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:208
@ BGR
BGR color format, default in DLDT.
Definition: ie_c_api.h:207
@ NV12
NV12 color format represented as compound Y+UV blob.
Definition: ie_c_api.h:210
@ EXECUTED
A layer is executed.
Definition: ie_common.h:171
long long realTime_uSec
The absolute time in microseconds that the layer ran (in total)
Definition: ie_common.h:182
@ RGBX
RGBX color format with X ignored during inference.
Definition: ie_c_api.h:208
This class represents StatusCode::GENERIC_ERROR exception.
Definition: ie_common.h:262
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:312
StatusCode rc
A status code.
Definition: ie_common.h:253
LayerStatus status
Defines a layer status.
Definition: ie_common.h:177
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:292
@ GOIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:76
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:287
std::shared_ptr< const Data > CDataPtr
Smart pointer to constant Data.
Definition: ie_common.h:42
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:27
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:302
char msg[4096]
A character buffer that holds the detailed information for an error.
Definition: ie_common.h:235
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:186
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:282
void * v_ptr
A pointer to a void.
Definition: ie_common.h:56
@ OIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:75
@ NOT_RUN
A layer is not exectued.
Definition: ie_common.h:169
ResponseDesc resp
Response message.
Definition: ie_common.h:258
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:37
ColorFormat
Extra information about input color format for preprocessing.
Definition: ie_common.h:125
@ GOIHW
NDHWC layout for operation weights.
Definition: ie_common.h:74
int v_int
An integer value.
Definition: ie_common.h:54
This class represents StatusCode::PARAMETER_MISMATCH exception.
Definition: ie_common.h:277
float v_float
A floating point value.
Definition: ie_common.h:55
Responce structure encapsulating information about supported layer.
Definition: ie_common.h:242
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:63
std::weak_ptr< Data > DataWeakPtr
Smart weak pointer to Data.
Definition: ie_common.h:47
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:53
This class represents StatusCode::NETWORK_NOT_READ exception.
Definition: ie_common.h:318
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:307