19 #include "ie_unicode.hpp"
108 inline std::ostream& operator<<(std::ostream& out,
const Layout& p) {
110 #define PRINT_LAYOUT(name) \
126 PRINT_LAYOUT(BLOCKED);
129 out << static_cast<int>(p);
147 inline std::ostream& operator<<(std::ostream& out,
const ColorFormat& fmt) {
149 #define PRINT_COLOR_FORMAT(name) \
154 PRINT_COLOR_FORMAT(
RAW);
155 PRINT_COLOR_FORMAT(
RGB);
156 PRINT_COLOR_FORMAT(
BGR);
157 PRINT_COLOR_FORMAT(
RGBX);
158 PRINT_COLOR_FORMAT(
BGRX);
159 PRINT_COLOR_FORMAT(
NV12);
161 #undef PRINT_COLOR_FORMAT
164 out << static_cast<uint32_t>(fmt);
195 char exec_type[256] = {};
200 char layer_type[256] = {};
215 NOT_IMPLEMENTED = -2,
216 NETWORK_NOT_LOADED = -3,
217 PARAMETER_MISMATCH = -4,
225 RESULT_NOT_READY = -9,
227 INFER_NOT_STARTED = -11,
228 NETWORK_NOT_READ = -12
244 using std::logic_error::logic_error;
249 using std::logic_error::logic_error;
254 using std::logic_error::logic_error;
259 using std::logic_error::logic_error;
264 using std::logic_error::logic_error;
269 using std::logic_error::logic_error;
274 using std::logic_error::logic_error;
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;
300 using std::logic_error::logic_error;
304 #define __PRETTY_FUNCTION__ __FUNCSIG__
306 #define __PRETTY_FUNCTION__ __PRETTY_FUNCTION__
RGBX color format with X ignored during inference.
Definition: ie_common.h:143
This class represents StatusCode::PARAMETER_MISMATCH exception.
Definition: ie_common.h:258
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:77
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:253
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:278
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:67
Inference Engine API.
Definition: ie_argmax_layer.hpp:11
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:180
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:190
std::weak_ptr< CNNLayer > CNNLayerWeakPtr
A smart weak pointer to the CNNLayer.
Definition: ie_common.h:41
This class represents StatusCode::GENERIC_ERROR exception.
Definition: ie_common.h:243
Represents detailed information for an error.
Definition: ie_common.h:235
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:212
Plain blob (default), no extra color processing required.
Definition: ie_common.h:140
This class represents StatusCode::NETWORK_NOT_READ exception.
Definition: ie_common.h:299
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:283
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:51
ColorFormat
Extra information about input color format for preprocessing.
Definition: ie_common.h:139
long long realTime_uSec
The absolute time in microseconds that the layer ran (in total)
Definition: ie_common.h:186
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:268
std::shared_ptr< const Data > CDataPtr
Smart pointer to constant Data.
Definition: ie_common.h:56
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:37
std::weak_ptr< Data > DataWeakPtr
Smart weak pointer to Data.
Definition: ie_common.h:61
BGR color format, default in DLDT.
Definition: ie_common.h:142
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:205
NV12 color format represented as compound Y+UV blob.
Definition: ie_common.h:145
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:288
BGRX color format with X ignored during inference.
Definition: ie_common.h:144
This is a base abstraction Layer - all DNN Layers inherit from this class.
Definition: ie_layers.h:41
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:263
std::vector< size_t > SizeVector
Represents tensor size. The order is opposite to the order in Caffe*: (w,h,n,b) where the most freque...
Definition: ie_common.h:27
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:273
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:293
RGB color format.
Definition: ie_common.h:141
This class represents the main Data representation node.
Definition: ie_data.h:28
Represents basic inference profiling information per layer. If the layer is executed using tiling...
Definition: ie_common.h:176
A header file for the main Inference Engine exception.
This class represents StatusCode::NOT_IMPLEMENTED exception.
Definition: ie_common.h:248