104 #define PRINT_LAYOUT(name) \
124 out << static_cast<int>(p);
152 #define PRINT_COLOR_FORMAT(name) \
157 PRINT_COLOR_FORMAT(
RAW);
158 PRINT_COLOR_FORMAT(
RGB);
159 PRINT_COLOR_FORMAT(
BGR);
160 PRINT_COLOR_FORMAT(
RGBX);
161 PRINT_COLOR_FORMAT(
BGRX);
162 PRINT_COLOR_FORMAT(
NV12);
163 PRINT_COLOR_FORMAT(
I420);
164 #undef PRINT_COLOR_FORMAT
167 out << static_cast<uint32_t>(fmt);
227 NOT_IMPLEMENTED = -2,
228 NETWORK_NOT_LOADED = -3,
229 PARAMETER_MISMATCH = -4,
237 RESULT_NOT_READY = -9,
239 INFER_NOT_STARTED = -11,
240 NETWORK_NOT_READ = -12,
241 INFER_CANCELLED = -13
279 using std::logic_error::logic_error;
284 using std::logic_error::logic_error;
289 using std::logic_error::logic_error;
294 using std::logic_error::logic_error;
299 using std::logic_error::logic_error;
304 using std::logic_error::logic_error;
309 using std::logic_error::logic_error;
314 using std::logic_error::logic_error;
319 using std::logic_error::logic_error;
324 using std::logic_error::logic_error;
329 using std::logic_error::logic_error;
334 using std::logic_error::logic_error;
339 using std::logic_error::logic_error;
345 #define __PRETTY_FUNCTION__ __FUNCSIG__
347 #define __PRETTY_FUNCTION__ __PRETTY_FUNCTION__
This class represents the main Data representation node.
Definition: ie_data.h:28
This class represents StatusCode::GENERIC_ERROR exception.
Definition: ie_common.h:278
This class represents StatusCode::INFER_CANCELLED exception.
Definition: ie_common.h:338
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:328
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:288
This class represents StatusCode::NETWORK_NOT_READ exception.
Definition: ie_common.h:333
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:323
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:298
This class represents StatusCode::NOT_IMPLEMENTED exception.
Definition: ie_common.h:283
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:303
This class represents StatusCode::PARAMETER_MISMATCH exception.
Definition: ie_common.h:293
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:313
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:318
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:308
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
std::shared_ptr< const Data > CDataPtr
Smart pointer to constant Data.
Definition: ie_common.h:42
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:63
@ CHW
A single image layout (e.g. for mean image)
Definition: ie_common.h:85
@ OIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:75
@ HWC
A single image layout (e.g. for mean image)
Definition: ie_common.h:86
@ C
A bias layout for operation.
Definition: ie_common.h:82
@ ANY
"any" layout
Definition: ie_common.h:64
@ NCDHW
NCDHW layout for input / output blobs.
Definition: ie_common.h:69
@ NHWC
NHWC layout for input / output blobs.
Definition: ie_common.h:68
@ GOIHW
NDHWC layout for operation weights.
Definition: ie_common.h:74
@ OIHW
NDHWC layout for operation weights.
Definition: ie_common.h:73
@ NDHWC
NDHWC layout for input / output blobs.
Definition: ie_common.h:70
@ HW
HW 2D layout.
Definition: ie_common.h:89
@ CN
CN 2D layout.
Definition: ie_common.h:91
@ GOIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:76
@ BLOCKED
A blocked layout.
Definition: ie_common.h:93
@ NCHW
NCHW layout for input / output blobs.
Definition: ie_common.h:67
@ NC
HC 2D layout.
Definition: ie_common.h:90
@ SCALAR
A scalar layout.
Definition: ie_common.h:79
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
std::ostream & operator<<(std::ostream &out, const Layout &p)
Prints a string representation of InferenceEngine::Layout to a stream.
Definition: ie_common.h:102
ColorFormat
Extra information about input color format for preprocessing.
Definition: ie_common.h:134
@ BGR
BGR color format, default in DLDT.
Definition: ie_common.h:137
@ RAW
Plain blob (default), no extra color processing required.
Definition: ie_common.h:135
@ NV12
NV12 color format represented as compound Y+UV blob.
Definition: ie_common.h:140
@ RGBX
RGBX color format with X ignored during inference.
Definition: ie_common.h:138
@ BGRX
BGRX color format with X ignored during inference.
Definition: ie_common.h:139
@ I420
I420 color format represented as compound Y+U+V blob.
Definition: ie_common.h:141
@ RGB
RGB color format.
Definition: ie_common.h:136
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:37
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:27
std::weak_ptr< Data > DataWeakPtr
Smart weak pointer to Data.
Definition: ie_common.h:47
Represents basic inference profiling information per layer.
Definition: ie_common.h:180
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:202
LayerStatus status
Defines a layer status.
Definition: ie_common.h:193
long long realTime_uSec
The absolute time in microseconds that the layer ran (in total)
Definition: ie_common.h:198
char layer_type[256]
A layer type.
Definition: ie_common.h:212
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:184
@ NOT_RUN
A layer is not executed.
Definition: ie_common.h:185
@ OPTIMIZED_OUT
A layer is optimized out during graph optimization phase.
Definition: ie_common.h:186
@ EXECUTED
A layer is executed.
Definition: ie_common.h:187
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:217
char exec_type[256]
An execution type of unit.
Definition: ie_common.h:207
Response structure encapsulating information about supported layer.
Definition: ie_common.h:258
StatusCode rc
A status code.
Definition: ie_common.h:269
ResponseDesc resp
Response message.
Definition: ie_common.h:274
std::map< std::string, std::string > supportedLayersMap
A map of supported layers:
Definition: ie_common.h:264
Represents detailed information for an error.
Definition: ie_common.h:248
char msg[4096]
A character buffer that holds the detailed information for an error.
Definition: ie_common.h:252
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:53
void * v_ptr
A pointer to a void.
Definition: ie_common.h:56
float v_float
A floating point value.
Definition: ie_common.h:55
int v_int
An integer value.
Definition: ie_common.h:54