110 inline std::ostream& operator<<(std::ostream& out,
const Layout& p) {
112 #define PRINT_LAYOUT(name) \ 131 out << static_cast<int>(p);
150 inline std::ostream& operator<<(std::ostream& out,
const ColorFormat& fmt) {
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);
207 char exec_type[256] = {};
212 char layer_type[256] = {};
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
256 using std::logic_error::logic_error;
261 using std::logic_error::logic_error;
266 using std::logic_error::logic_error;
271 using std::logic_error::logic_error;
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;
312 using std::logic_error::logic_error;
316 #define __PRETTY_FUNCTION__ __FUNCSIG__ 318 #define __PRETTY_FUNCTION__ __PRETTY_FUNCTION__ RGBX color format with X ignored during inference.
Definition: ie_common.h:145
This class represents StatusCode::PARAMETER_MISMATCH exception.
Definition: ie_common.h:270
NCDHW layout for input / output blobs.
Definition: ie_common.h:85
A blocked layout.
Definition: ie_common.h:108
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:79
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:265
This is a header file with common inference engine definitions.
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:290
LayerStatus status
Defines a layer status.
Definition: ie_common.h:193
CN 2D layout.
Definition: ie_common.h:106
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:69
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
float v_float
A floating point value.
Definition: ie_common.h:71
NDHWC layout for operation weights.
Definition: ie_common.h:90
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:184
A layer is not exectued.
Definition: ie_common.h:185
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:202
void * v_ptr
A pointer to a void.
Definition: ie_common.h:72
std::weak_ptr< CNNLayer > CNNLayerWeakPtr
A smart weak pointer to the CNNLayer.
Definition: ie_common.h:43
This class represents StatusCode::GENERIC_ERROR exception.
Definition: ie_common.h:255
A layer is optimized out during graph optimization phase.
Definition: ie_common.h:186
Represents detailed information for an error.
Definition: ie_common.h:247
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
A bias layout for opearation.
Definition: ie_common.h:98
Plain blob (default), no extra color processing required.
Definition: ie_common.h:142
This class represents StatusCode::NETWORK_NOT_READ exception.
Definition: ie_common.h:311
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:295
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:53
ColorFormat
Extra information about input color format for preprocessing.
Definition: ie_common.h:141
"any" layout
Definition: ie_common.h:80
I420 color format represented as compound Y+U+V blob.
Definition: ie_common.h:148
long long realTime_uSec
The absolute time in microseconds that the layer ran (in total)
Definition: ie_common.h:198
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:280
std::shared_ptr< const Data > CDataPtr
Smart pointer to constant Data.
Definition: ie_common.h:58
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:39
A single image layout (e.g. for mean image)
Definition: ie_common.h:101
NDHWC layout for operation weights.
Definition: ie_common.h:92
std::weak_ptr< Data > DataWeakPtr
Smart weak pointer to Data.
Definition: ie_common.h:63
NHWC layout for input / output blobs.
Definition: ie_common.h:84
NDHWC layout for operation weights.
Definition: ie_common.h:91
BGR color format, default in DLDT.
Definition: ie_common.h:144
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:217
NV12 color format represented as compound Y+UV blob.
Definition: ie_common.h:147
HC 2D layout.
Definition: ie_common.h:105
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:300
BGRX color format with X ignored during inference.
Definition: ie_common.h:146
A scalar layout.
Definition: ie_common.h:95
NDHWC layout for input / output blobs.
Definition: ie_common.h:86
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:275
NCHW layout for input / output blobs.
Definition: ie_common.h:83
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:29
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:285
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:305
RGB color format.
Definition: ie_common.h:143
This class represents the main Data representation node.
Definition: ie_data.h:30
int v_int
An integer value.
Definition: ie_common.h:70
NDHWC layout for operation weights.
Definition: ie_common.h:89
Represents basic inference profiling information per layer.
Definition: ie_common.h:180
A header file for the main Inference Engine exception.
This class represents StatusCode::NOT_IMPLEMENTED exception.
Definition: ie_common.h:260
HW 2D layout.
Definition: ie_common.h:104