23 #include "ie_layers_property.hpp"
46 using Ptr = std::shared_ptr<CNNLayer>;
86 precision(prms.precision), userValue({0}) {
107 if (insData.empty()) {
110 auto lockedFirstInsData = insData[0].lock();
111 if (!lockedFirstInsData) {
114 return lockedFirstInsData;
120 INFERENCE_ENGINE_API_CPP(
void) validateLayer();
130 return -std::numeric_limits<float>::infinity();
131 }
else if (str ==
"inf") {
132 return std::numeric_limits<float>::infinity();
135 std::stringstream val_stream(str);
136 val_stream.imbue(std::locale(
"C"));
150 std::string val = GetParamAsString(param, std::to_string(def).c_str());
152 return ie_parse_float(val);
154 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" from IR for layer " << name
155 <<
". Value " << val <<
" cannot be casted to float.";
165 std::string val = GetParamAsString(param);
167 return ie_parse_float(val);
169 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" from IR for layer " << name
170 <<
". Value " << val <<
" cannot be casted to float.";
181 std::string vals = GetParamAsString(param,
"");
182 std::vector<float> result;
183 std::istringstream stream(vals);
187 while (getline(stream, str,
',')) {
189 float val = ie_parse_float(str);
190 result.push_back(val);
192 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" " << str <<
" from IR for layer " << name
193 <<
". Value " << vals <<
" cannot be casted to floats.";
205 std::string vals = GetParamAsString(param);
206 std::vector<float> result;
207 std::istringstream stream(vals);
209 while (getline(stream, str,
',')) {
211 float val = ie_parse_float(str);
212 result.push_back(val);
214 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" " << str <<
" from IR for layer " << name
215 <<
". Value " << vals <<
" cannot be casted to floats.";
228 std::string val = GetParamAsString(param, std::to_string(def).c_str());
230 return std::stoi(val);
232 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" from IR for layer " << name
233 <<
". Value " << val <<
" cannot be casted to int.";
243 std::string val = GetParamAsString(param);
245 return std::stoi(val);
247 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" from IR for layer " << name
248 <<
". Value " << val <<
" cannot be casted to int.";
260 std::string vals = GetParamAsString(param,
"");
261 std::vector<int> result;
262 std::istringstream stream(vals);
266 while (getline(stream, str,
',')) {
268 result.push_back(std::stoi(str));
270 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" " << str <<
" from IR for layer " << name
271 <<
". Value " << vals <<
" cannot be casted to int.";
283 std::string vals = GetParamAsString(param);
284 std::vector<int> result;
285 std::istringstream stream(vals);
287 while (getline(stream, str,
',')) {
289 result.push_back(std::stoi(str));
291 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" " << str <<
" from IR for layer " << name
292 <<
". Value " << vals <<
" cannot be casted to int.";
304 std::string val = GetParamAsString(param, std::to_string(def).c_str());
305 std::string message =
"Cannot parse parameter " + std::string(param) +
" from IR for layer " + name
306 +
". Value " + val +
" cannot be casted to int.";
308 int value = std::stoi(val);
312 return static_cast<unsigned int>(value);
324 std::string val = GetParamAsString(param);
325 std::string message =
"Cannot parse parameter " + std::string(param) +
" from IR for layer " + name
326 +
". Value " + val +
" cannot be casted to unsigned int.";
328 int value = std::stoi(val);
332 return static_cast<unsigned int>(value);
345 std::vector<unsigned int>
GetParamAsUInts(
const char *param, std::vector<unsigned int> def)
const {
346 std::string vals = GetParamAsString(param,
"");
347 std::vector<unsigned int> result;
348 std::istringstream stream(vals);
350 std::string message =
"Cannot parse parameter " + std::string(param) +
" " + str +
" from IR for layer " + name
351 +
". Value " + vals +
" cannot be casted to unsigned int.";
354 while (getline(stream, str,
',')) {
356 int value = std::stoi(str);
360 result.push_back(static_cast<unsigned int>(value));
374 std::string vals = GetParamAsString(param);
375 std::vector<unsigned int> result;
376 std::istringstream stream(vals);
378 std::string message =
"Cannot parse parameter " + std::string(param) +
" " + str +
" from IR for layer " + name
379 +
". Value " + vals +
" cannot be casted to int.";
380 while (getline(stream, str,
',')) {
382 int value = std::stoi(str);
386 result.push_back(static_cast<unsigned int>(value));
401 std::string val = GetParamAsString(param, std::to_string(def).c_str());
402 std::string loweredCaseValue;
403 std::transform(val.begin(), val.end(), std::back_inserter(loweredCaseValue), [](
char value) {
404 return std::tolower(value);
409 if (!(std::istringstream(loweredCaseValue) >> std::boolalpha >> result)) {
411 return (GetParamAsInt(param, def) != 0);
419 INFERENCE_ENGINE_DEPRECATED
421 return GetParamAsBool(param, def);
431 auto it = params.find(param);
432 if (it == params.end() || it->second.empty()) {
444 auto it = params.find(param);
445 if (it == params.end()) {
458 auto it = params.find(param);
459 if (it == params.end()) {
465 std::vector<std::string> GetParamAsStrings(
const char *param, std::vector<std::string> def)
const {
466 std::string vals = GetParamAsString(param,
"");
467 std::vector<std::string> result;
468 std::istringstream stream(vals);
472 while (getline(stream, str,
',')) {
474 result.push_back(str);
476 THROW_IE_EXCEPTION <<
"Cannot parse parameter " << param <<
" from IR for layer " << name <<
".";
485 std::map<std::string, std::string>
params;
490 std::map<std::string, Blob::Ptr>
blobs;
527 #define DEFINE_PROP(prop_name) \
528 PropertyVector<unsigned int> prop_name;\
529 unsigned int &prop_name##_x = prop_name.at(X_AXIS);\
530 unsigned int &prop_name##_y = prop_name.at(Y_AXIS);\
560 unsigned int _out_depth = 0u;
564 unsigned int _group = 1u;
574 _kernel(2, 0u), _padding(2, 0u), _stride(2, 1u), _dilation(2, 1u) {}
580 WeightableLayer::operator=(that);
613 using ConvolutionLayer::operator=;
622 using ConvolutionLayer::operator=;
627 unsigned int _deformable_group = 1u;
672 bool _exclude_pad =
false;
682 _kernel(2, 0u), _padding(2, 0u), _stride(2, 0u) {}
689 CNNLayer::operator=(that);
738 unsigned int _in_depth = 0u;
743 float _pad_value = 0.0f;
768 unsigned int _out_depth = 0u;
772 unsigned int _group = 1u;
782 _kernel(2, 0u), _padding(2, 0u), _stride(2, 1u), _dilation(2, 1u) {}
788 WeightableLayer::operator=(that);
828 unsigned int _out_num = 0;
845 unsigned int _axis = 1;
863 unsigned int _axis = 1;
879 unsigned int _size = 0;
895 bool _isAcrossMaps =
false;
967 float negative_slope = 0.0f;
984 float min_value = 0.0f;
989 float max_value = 1.0f;
1007 using ClampLayer::ClampLayer;
1021 Sum = 0, Prod, Max, Sub, Min, Div, Squared_diff, Floor_mod, Pow,
1022 Equal, Not_equal, Less, Less_equal, Greater, Greater_equal,
1023 Logical_AND, Logical_OR, Logical_XOR, Logical_NOT, Mean, Select
1119 unsigned int _broadcast = 0;
1146 std::vector<DataPtr> inputs;
1147 std::vector<DataPtr> outputs;
1150 std::vector<PortMap> input_port_map;
1151 std::vector<PortMap> output_port_map;
1152 std::vector<PortMap> back_edges;
1185 int hidden_size = 0;
1349 using RNNCellBase::RNNCellBase;
1356 unsigned int axis = 1;
1422 float epsilon = 1e-3f;
1447 bool transpose_a =
false;
1451 bool transpose_b =
false;
1469 Constant = 0, Edge, Reflect, Symmetric
1487 float pad_value = 0.0f;
1561 unsigned int group = 1;
1579 unsigned int block_size = 1;
1597 unsigned int block_size = 1;
1638 unsigned int depth = 0;
1643 float on_value = 1.f;
1648 float off_value = 0.f;
1755 bool keep_dims =
true;
int GetParamAsInt(const char *param, int def) const
Returns an integer value for the given parameter or returns the default value.
Definition: ie_layers.h:227
BinaryConvolutionLayer(const LayerParams &p)
Creates a new BinaryConvolutionLayer instance.
Definition: ie_layers.h:781
std::shared_ptr< CNNLayer > Ptr
A shared pointer to CNNLayer.
Definition: ie_layers.h:46
#define THROW_IE_EXCEPTION
A macro used to throw the exception with a notable description.
Definition: ie_exception.hpp:22
#define DEFINE_PROP(prop_name)
convinenent way to declare property with backward compatibility to 2D members
Definition: ie_layers.h:527
PoolingLayer(const PoolingLayer &that)
copy constructor
Definition: ie_layers.h:707
std::vector< int > axis
A vector of dimensions for cropping.
Definition: ie_layers.h:1050
virtual const DataPtr input() const
Returns the first element of the input data for this layer.
Definition: ie_layers.h:106
This class represents a Layer which performs Scale and Shift.
Definition: ie_layers.h:1374
std::string type
Layer type.
Definition: ie_layers.h:55
unsigned int _group
Number of groups.
Definition: ie_layers.h:564
PoolType _type
A pooling type.
Definition: ie_layers.h:667
This class represents a standard Strided Slice layer Strided Slice picks from input tensor according ...
Definition: ie_layers.h:1514
unsigned int GetParamAsUInt(const char *param, unsigned int def) const
Returns an unsigned integer value for the given parameter or returns the default value.
Definition: ie_layers.h:303
PoolType
Defines available pooling types.
Definition: ie_layers.h:656
float GetParamAsFloat(const char *param, float def) const
Gets float value for the given parameter.
Definition: ie_layers.h:149
This class represents a standard crop layer.
Definition: ie_layers.h:1045
std::vector< float > activation_beta
Beta parameters of activations.
Definition: ie_layers.h:1212
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:66
This structure describes ROI data.
Definition: ie_blob.h:1085
PReLULayer(const LayerParams &prms)
A default constructor. Creates a new PReLULayer instance and initializes layer parameters with the gi...
Definition: ie_layers.h:1386
This class represents a standard Power Layer Formula is: output = (offset + scale * input) ^ power...
Definition: ie_layers.h:1393
std::string begin_mask
The begin_mask is a bitmask where bit i being 0 means to ignore the begin value and instead use the d...
Definition: ie_layers.h:1520
std::vector< int > GetParamAsInts(const char *param, std::vector< int > def) const
Returns a vector of int values for the given parameter or returns the default value.
Definition: ie_layers.h:259
std::vector< int > shape
A vector of sizes of the shape.
Definition: ie_layers.h:1074
Definition: ie_argmax_layer.hpp:11
Definition: ie_layers.h:1362
This is an internal common Layer parameter parsing arguments.
Definition: ie_layers.h:29
bool _channel_shared
A flag that indicates if the same negative_slope value is used for all the features. If false, the value is used pixel wise.
Definition: ie_layers.h:1379
PropertyVector< unsigned int > _dilation
A convolution dilations array [X, Y, Z, ...].
Definition: ie_layers.h:552
This class represents a standard Space To Depth layer Depth To Space picks from input tensor accordin...
Definition: ie_layers.h:1592
eBinaryConvolutionMode _mode
Mode of binary convolution operation.
Definition: ie_layers.h:733
Definition: ie_layers.h:1174
This class represents a OneHot layer Converts input into OneHot representation.
Definition: ie_layers.h:1633
Base class for recurrent cell layers.
Definition: ie_layers.h:1162
PropertyVector< unsigned int > pads_begin
Size of padding in the beginning of each axis.
Definition: ie_layers.h:1475
PropertyVector< unsigned int > _dilation
A convolution dilations array [X, Y, Z, ...].
Definition: ie_layers.h:760
This class represents a layer with Weights and/or Biases (e.g. Convolution/Fully Connected, etc.)
Definition: ie_layers.h:501
Blob::Ptr _weights
A pointer to a weights blob.
Definition: ie_layers.h:512
PropertyVector< unsigned int > _stride
A convolution strides array [X, Y, Z, ...].
Definition: ie_layers.h:552
This class represents a standard Fill layer RFill modifies input tensor according parameters...
Definition: ie_layers.h:1679
WeightableLayer(const LayerParams &prms)
A default constructor. Constructs a WeightableLayer instance and initiates layer parameters with the ...
Definition: ie_layers.h:507
std::vector< DataWeakPtr > insData
A vector of weak pointers to the input data elements of this layer in the di-graph (order matters) ...
Definition: ie_layers.h:67
std::string _auto_pad
Auto padding type.
Definition: ie_layers.h:568
void fuse(Ptr &layer)
Sets a layer to be fused with.
Definition: ie_layers.h:98
A header file for Blob and generic TBlob<>
This class represents a standard deconvolution layer.
Definition: ie_layers.h:610
std::string shrink_axis_mask
The shrink_axis_mask is a bitmask where bit i being 1 means the i-th position shrinks the dimensional...
Definition: ie_layers.h:1539
std::vector< unsigned int > GetParamAsUInts(const char *param) const
Returns a vector of unsigned int values for the given parameter.
Definition: ie_layers.h:373
Direction
Direction of iteration through sequence dimension.
Definition: ie_layers.h:1361
int to
Definition: ie_layers.h:1135
std::vector< int > offset
A vector of offsets for each dimension.
Definition: ie_layers.h:1058
This class represents standard MVN Layer.
Definition: ie_layers.h:940
PropertyVector< unsigned int > _kernel
A convolution kernel array [X, Y, Z, ...].
Definition: ie_layers.h:540
int stride
Definition: ie_layers.h:1139
Ptr _fusedWith
If suggested to fuse - a pointer to the layer which needs to be fused with this layer.
Definition: ie_layers.h:71
This class represents a standard Reduce layers Reduce modifies input tensor according parameters...
Definition: ie_layers.h:1750
std::string sort
top K values sort mode could be 'value' or 'index'
Definition: ie_layers.h:1777
ConvolutionLayer(const ConvolutionLayer &that)
copy constructor
Definition: ie_layers.h:598
PropertyVector< unsigned int > _pads_end
Pooling paddings end array [X, Y, Z, ...].
Definition: ie_layers.h:642
std::vector< std::string > activations
Activations used inside recurrent cell.
Definition: ie_layers.h:1198
std::string name
Layer name.
Definition: ie_layers.h:31
class CNNLayer GenericLayer
Alias for CNNLayer object.
Definition: ie_layers.h:496
std::string type
Layer type.
Definition: ie_layers.h:33
This class represents a standard Reverse Sequence layer Reverse Sequence modifies input tensor accord...
Definition: ie_layers.h:1610
This class represents a Clamp activation layer Clamps all tensor elements into the range [min_value...
Definition: ie_layers.h:979
int part_size
Definition: ie_layers.h:1142
This class represents a layer that evenly splits the input into the supplied outputs.
Definition: ie_layers.h:858
Definition: ie_layers.h:1363
Definition: ie_layers.h:1172
eOperation
Defines possible operations that can be used.
Definition: ie_layers.h:1020
This class represents a standard TopK layer TopK picks top K values from input tensor according param...
Definition: ie_layers.h:1768
bool _exclude_pad
A flag that indicates if padding is excluded or not.
Definition: ie_layers.h:672
This class represents an element wise operation layer.
Definition: ie_layers.h:1014
PropertyVector< unsigned int > pads_end
Size of padding in the end of each axis.
Definition: ie_layers.h:1479
This class represents standard GRN Layer.
Definition: ie_layers.h:922
This class represents a standard Shuffle Channels layer Shuffle Channels picks from input tensor acco...
Definition: ie_layers.h:1551
This class represents a standard reshape layer.
Definition: ie_layers.h:1069
std::string mode
The mode could be 'max' or 'min'.
Definition: ie_layers.h:1773
UserValue userValue
Convenience user values to store in this object as extra data.
Definition: ie_layers.h:75
Sequence of recurrent cells.
Definition: ie_layers.h:1347
PropertyVector< unsigned int > _pads_end
A convolution paddings end array [X, Y, Z, ...].
Definition: ie_layers.h:752
BinaryConvolutionLayer(const BinaryConvolutionLayer &that)
copy constructor
Definition: ie_layers.h:809
GRNLayer(const LayerParams &prms)
A default constructor. Creates a new GRNLayer instance and initializes layer parameters with the give...
Definition: ie_layers.h:928
CNNLayer(const LayerParams &prms)
A constructor. Creates a new CNNLayer instance and initializes layer parameters with the given values...
Definition: ie_layers.h:85
static float ie_parse_float(const std::string &str)
Parse string with float in accordance with IE rules.
Definition: ie_layers.h:128
This class represents a fully connected layer.
Definition: ie_layers.h:823
ePadMode
Defines possible modes of pad operation.
Definition: ie_layers.h:1468
This class represents a SelectLayer layer SelectLayer layer takes elements from the second (“then”)...
Definition: ie_layers.h:1694
std::map< std::string, std::string > params
Map of pairs: (parameter name, parameter value)
Definition: ie_layers.h:485
Definition: ie_layers.h:1171
PoolingLayer(const LayerParams &p)
Creates a new PoolingLayer instance.
Definition: ie_layers.h:681
std::shared_ptr< Blob > Ptr
A smart pointer containing Blob object.
Definition: ie_blob.h:40
std::vector< float > coeff
A vector of coefficients to scale the operands.
Definition: ie_layers.h:1034
bool GetParamsAsBool(const char *param, bool def) const
Definition: ie_layers.h:420
std::string end_mask
Analogous to begin_mask.
Definition: ie_layers.h:1524
std::vector< unsigned int > GetParamAsUInts(const char *param, std::vector< unsigned int > def) const
Returns a vector of unsigned int values for the given parameter or returns the default value...
Definition: ie_layers.h:345
std::vector< float > activation_alpha
Alpha parameters of activations.
Definition: ie_layers.h:1205
unsigned int GetParamAsUInt(const char *param) const
Returns an unsigned integer value for the given parameter.
Definition: ie_layers.h:323
This class represents a ReLU6 activation layer Clamps all tensor elements into the range [0...
Definition: ie_layers.h:1001
This class represents a Batch Normalization Layer.
Definition: ie_layers.h:1417
unsigned int _group
Number of groups.
Definition: ie_layers.h:772
PropertyVector< unsigned int > _stride
Pooling strides array [X, Y, Z, ...].
Definition: ie_layers.h:650
This class represents a Layer which performs Scale and Shift.
Definition: ie_layers.h:1114
This class represents standard softmax Layer.
Definition: ie_layers.h:906
unsigned int _out_depth
A number of output feature maps (size) generating the 3'rd output dimension.
Definition: ie_layers.h:560
PropertyVector< unsigned int > _kernel
A convolution kernel array [X, Y, Z, ...].
Definition: ie_layers.h:748
std::vector< float > GetParamAsFloats(const char *param) const
Returns a vector of float values for the given parameter.
Definition: ie_layers.h:204
This header file defines the main Data representation node.
int end
Definition: ie_layers.h:1141
bool GetParamAsBool(const char *param, bool def) const
Returns an boolean value for the given parameter. The valid values are (true, false, 1, 0).
Definition: ie_layers.h:400
std::vector< int > GetParamAsInts(const char *param) const
Returns a vector of int values for the given parameter.
Definition: ie_layers.h:282
float _pad_value
A pad value which is used to fill pad area.
Definition: ie_layers.h:743
std::string ellipsis_mask
The ellipsis_mask is a bitmask where bit i being 1 means the i-th is actually an ellipsis.
Definition: ie_layers.h:1529
unsigned int _in_depth
A number of input feature maps (size) generating the 3'rd input dimension.
Definition: ie_layers.h:738
PropertyVector< unsigned int > _kernel
Pooling kernel array [X, Y, Z, ...].
Definition: ie_layers.h:638
float GetParamAsFloat(const char *param) const
Returns a float value for the given layer parameter.
Definition: ie_layers.h:164
PropertyVector< unsigned int > _padding
Pooling paddings begin array [X, Y, Z, ...].
Definition: ie_layers.h:638
Definition: ie_layers.h:1145
int GetParamAsInt(const char *param) const
Returns an integer value for the given parameter.
Definition: ie_layers.h:242
PropertyVector< unsigned int > _padding
A convolution paddings begin array [X, Y, Z, ...].
Definition: ie_layers.h:748
int across_channels
Indicate that mean value is calculated across channels.
Definition: ie_layers.h:951
Precision precision
Layer base operating precision.
Definition: ie_layers.h:59
This class represents a quantization operation layer Element-wise linear quantization of floating poi...
Definition: ie_layers.h:1719
unsigned int _out_depth
A number of output feature maps (size) generating the 3'rd output dimension.
Definition: ie_layers.h:768
MVNLayer(const LayerParams &prms)
A default constructor. Creates a new MVNLayer instance and initializes layer parameters with the give...
Definition: ie_layers.h:946
This class represents a Rectified Linear activation layer.
Definition: ie_layers.h:962
This class represents a standard 3D Convolution Layer.
Definition: ie_layers.h:535
CellType
Direct type of recurrent cell (including subtypes) Description of particular cell semantics is in LST...
Definition: ie_layers.h:1170
std::string _auto_pad
Auto padding type.
Definition: ie_layers.h:676
std::string _auto_pad
Auto padding type.
Definition: ie_layers.h:776
This class represents a standard Pad layer Adds paddings to input tensor.
Definition: ie_layers.h:1462
This header file contains aspects of working on different devices like CPU, GEN, FPGA, etc.
This class represents a standard Tile Layer.
Definition: ie_layers.h:1093
This class represents a standard binary convolution layer.
Definition: ie_layers.h:720
Precision precision
Layer precision.
Definition: ie_layers.h:35
PropertyVector< unsigned int > _pads_end
A convolution paddings end array [X, Y, Z, ...].
Definition: ie_layers.h:544
Blob::Ptr _biases
A pointer to a biases blob.
Definition: ie_layers.h:516
This class represents a Linear Response Normalization (LRN) Layer.
Definition: ie_layers.h:874
This class represents TensorIterator layer.
Definition: ie_layers.h:1130
This class represents concatenation layer Takes as input several data elements and merges them to one...
Definition: ie_layers.h:840
std::vector< float > GetParamAsFloats(const char *param, std::vector< float > def) const
Returns a vector of float values for the given parameter or returns the default value.
Definition: ie_layers.h:180
This class represents a standard RangeLayer layer RangeLayer modifies input tensor dimensions accordi...
Definition: ie_layers.h:1666
This is a base abstraction Layer - all DNN Layers inherit from this class.
Definition: ie_layers.h:41
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:50
int start
Definition: ie_layers.h:1140
std::string affinity
Layer affinity set by user.
Definition: ie_layers.h:79
This class represents a standard pooling layer.
Definition: ie_layers.h:633
PropertyVector< unsigned int > _stride
A convolution strides array [X, Y, Z, ...].
Definition: ie_layers.h:760
Definition: ie_layers.h:1132
This class represents a standard Gather layer Gather slices from Dictionary according to Indexes...
Definition: ie_layers.h:1498
Definition: ie_layers.h:1173
std::string GetParamAsString(const char *param) const
Returns a string value for the given parameter. Throws exception if parameter was not found...
Definition: ie_layers.h:457
This class represents a standard Math layers Math modifies input tensor dimensions according paramete...
Definition: ie_layers.h:1737
std::string new_axis_mask
The new_axis_mask_ is a bitmask where bit i being 1 means the i-th position creates a new 1 dimension...
Definition: ie_layers.h:1534
PropertyVector< unsigned int > _padding
A convolution paddings begin array [X, Y, Z, ...].
Definition: ie_layers.h:540
std::map< std::string, Blob::Ptr > blobs
Map of pairs: (name, weights/biases blob)
Definition: ie_layers.h:490
std::string GetParamAsString(const char *param, const char *def) const
Returns a string value for the given parameter or returns the default one.
Definition: ie_layers.h:430
std::vector< DataPtr > outData
A vector of pointers to the output data elements of this layer in the di-graph (order matters) ...
Definition: ie_layers.h:63
eBinaryConvolutionMode
Defines possible modes of binary convolution operation.
Definition: ie_layers.h:726
int from
Definition: ie_layers.h:1134
bool CheckParamPresence(const char *param) const
Checks the param presence in the layer.
Definition: ie_layers.h:443
This class represents a standard Depth To Space layer Depth To Space picks from input tensor accordin...
Definition: ie_layers.h:1574
This class represents a general matrix multiplication operation layer Formula is: dst := alpha*src1*s...
Definition: ie_layers.h:1434
int axis
Definition: ie_layers.h:1138
std::vector< int > dim
A vector of dimensions to be preserved.
Definition: ie_layers.h:1054
std::string name
Layer name.
Definition: ie_layers.h:51
This is a header file with common inference engine definitions.
ConvolutionLayer(const LayerParams &p)
Creates a new ConvolutionLayer instance.
Definition: ie_layers.h:573
This class holds precision value and provides precision related operations.
Definition: ie_precision.hpp:19
This class represents a standard Broadcast layer Broadcast modifies input tensor dimensions according...
Definition: ie_layers.h:1707