20 namespace InferenceEngine {
103 #define PRINT_LAYOUT(name) \
122 out << static_cast<int>(p);
150 #define PRINT_COLOR_FORMAT(name) \
155 PRINT_COLOR_FORMAT(
RAW);
156 PRINT_COLOR_FORMAT(
RGB);
157 PRINT_COLOR_FORMAT(
BGR);
158 PRINT_COLOR_FORMAT(
RGBX);
159 PRINT_COLOR_FORMAT(
BGRX);
160 PRINT_COLOR_FORMAT(
NV12);
161 PRINT_COLOR_FORMAT(
I420);
162 #undef PRINT_COLOR_FORMAT
165 out << static_cast<uint32_t>(fmt);
225 NOT_IMPLEMENTED = -2,
226 NETWORK_NOT_LOADED = -3,
227 PARAMETER_MISMATCH = -4,
235 RESULT_NOT_READY = -9,
237 INFER_NOT_STARTED = -11,
238 NETWORK_NOT_READ = -12
276 using std::logic_error::logic_error;
281 using std::logic_error::logic_error;
286 using std::logic_error::logic_error;
291 using std::logic_error::logic_error;
296 using std::logic_error::logic_error;
301 using std::logic_error::logic_error;
306 using std::logic_error::logic_error;
311 using std::logic_error::logic_error;
316 using std::logic_error::logic_error;
321 using std::logic_error::logic_error;
326 using std::logic_error::logic_error;
331 using std::logic_error::logic_error;
337 #define __PRETTY_FUNCTION__ __FUNCSIG__
339 #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:275
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:325
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:285
This class represents StatusCode::NETWORK_NOT_READ exception.
Definition: ie_common.h:330
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:320
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:295
This class represents StatusCode::NOT_IMPLEMENTED exception.
Definition: ie_common.h:280
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:300
This class represents StatusCode::PARAMETER_MISMATCH exception.
Definition: ie_common.h:290
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:310
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:315
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:305
@ BGRX
BGRX color format with X ignored during inference.
Definition: ie_c_api.h:209
@ RGB
RGB color format.
Definition: ie_c_api.h:206
@ BGR
BGR color format, default in DLDT.
Definition: ie_c_api.h:207
@ RGBX
RGBX color format with X ignored during inference.
Definition: ie_c_api.h:208
@ NV12
NV12 color format represented as compound Y+UV blob.
Definition: ie_c_api.h:210
@ RAW
Plain blob (default), no extra color processing required.
Definition: ie_c_api.h:205
@ I420
I420 color format represented as compound Y+U+V blob.
Definition: ie_c_api.h:211
@ BLOCKED
"BLOCKED" layout
Definition: ie_c_api.h:165
@ NC
"NC" layout
Definition: ie_c_api.h:162
@ NCHW
"NCHW" layout
Definition: ie_c_api.h:143
@ CN
"CN" layout
Definition: ie_c_api.h:163
@ C
"C" layout
Definition: ie_c_api.h:155
@ NHWC
"NHWC" layout
Definition: ie_c_api.h:144
@ OIHW
"OIHW" layout
Definition: ie_c_api.h:149
@ SCALAR
"SCALAR" layout
Definition: ie_c_api.h:152
@ CHW
"CHW" layout
Definition: ie_c_api.h:158
@ ANY
"ANY" layout
Definition: ie_c_api.h:140
@ HW
"HW" layout
Definition: ie_c_api.h:161
@ NCDHW
"NCDHW" layout
Definition: ie_c_api.h:145
@ NDHWC
"NDHWC" layout
Definition: ie_c_api.h:146
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
@ OIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:75
@ GOIHW
NDHWC layout for operation weights.
Definition: ie_common.h:74
@ GOIDHW
NDHWC layout for operation weights.
Definition: ie_common.h:76
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:222
std::ostream & operator<<(std::ostream &out, const Layout &p)
Prints a string representation of InferenceEngine::Layout to a stream.
Definition: ie_common.h:101
ColorFormat
Extra information about input color format for preprocessing.
Definition: ie_common.h:132
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:178
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:200
LayerStatus status
Defines a layer status.
Definition: ie_common.h:191
long long realTime_uSec
The absolute time in microseconds that the layer ran (in total)
Definition: ie_common.h:196
char layer_type[256]
A layer type.
Definition: ie_common.h:210
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:182
@ NOT_RUN
A layer is not executed.
Definition: ie_common.h:183
@ OPTIMIZED_OUT
A layer is optimized out during graph optimization phase.
Definition: ie_common.h:184
@ EXECUTED
A layer is executed.
Definition: ie_common.h:185
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:215
char exec_type[256]
An execution type of unit.
Definition: ie_common.h:205
Response structure encapsulating information about supported layer.
Definition: ie_common.h:255
StatusCode rc
A status code.
Definition: ie_common.h:266
ResponseDesc resp
Response message.
Definition: ie_common.h:271
std::map< std::string, std::string > supportedLayersMap
A map of supported layers:
Definition: ie_common.h:261
Represents detailed information for an error.
Definition: ie_common.h:245
char msg[4096]
A character buffer that holds the detailed information for an error.
Definition: ie_common.h:249
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