110 inline std::ostream& operator<<(std::ostream& out,
const Layout& p) {
112 #define PRINT_LAYOUT(name) \ 128 PRINT_LAYOUT(BLOCKED);
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);
199 char exec_type[256] = {};
204 char layer_type[256] = {};
219 NOT_IMPLEMENTED = -2,
220 NETWORK_NOT_LOADED = -3,
221 PARAMETER_MISMATCH = -4,
229 RESULT_NOT_READY = -9,
231 INFER_NOT_STARTED = -11,
232 NETWORK_NOT_READ = -12
248 using std::logic_error::logic_error;
253 using std::logic_error::logic_error;
258 using std::logic_error::logic_error;
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;
304 using std::logic_error::logic_error;
308 #define __PRETTY_FUNCTION__ __FUNCSIG__ 310 #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:262
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:79
This class represents StatusCode::NETWORK_NOT_LOADED exception.
Definition: ie_common.h:257
This is a header file with common inference engine definitions.
This class represents StatusCode::REQUEST_BUSY exception.
Definition: ie_common.h:282
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
LayerStatus
Defines the general status of the layer.
Definition: ie_common.h:184
long long cpu_uSec
The net host cpu time that the layer ran.
Definition: ie_common.h:194
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:247
Represents detailed information for an error.
Definition: ie_common.h:239
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:216
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:303
This class represents StatusCode::RESULT_NOT_READY exception.
Definition: ie_common.h:287
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
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:190
This class represents StatusCode::OUT_OF_BOUNDS exception.
Definition: ie_common.h:272
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
std::weak_ptr< Data > DataWeakPtr
Smart weak pointer to Data.
Definition: ie_common.h:63
BGR color format, default in DLDT.
Definition: ie_common.h:144
unsigned execution_index
An execution index of the unit.
Definition: ie_common.h:209
NV12 color format represented as compound Y+UV blob.
Definition: ie_common.h:147
This class represents StatusCode::NOT_ALLOCATED exception.
Definition: ie_common.h:292
BGRX color format with X ignored during inference.
Definition: ie_common.h:146
This is a base abstraction Layer - all DNN Layers inherit from this class.
Definition: ie_layers.h:42
This class represents StatusCode::NOT_FOUND exception.
Definition: ie_common.h:267
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:29
This class represents StatusCode::UNEXPECTED exception.
Definition: ie_common.h:277
This class represents StatusCode::INFER_NOT_STARTED exception.
Definition: ie_common.h:297
RGB color format.
Definition: ie_common.h:143
This class represents the main Data representation node.
Definition: ie_data.h:30
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:252