class InferenceEngine::PropertyVector¶
Overview¶
#include <ie_layers_property.hpp>
template <class T, int N = MAX_DIMS_NUMBER>
class PropertyVector
{
public:
// construction
PropertyVector();
PropertyVector(size_t len, T val);
PropertyVector(const std::vector<T>& values);
PropertyVector(std::initializer_list<int> init_list);
// methods
T& at(int index);
const T& operator [] (size_t index) const;
T& operator [] (size_t index);
PropertyVector& operator = (const PropertyVector& src);
bool operator == (const PropertyVector& src) const;
size_t size() const;
void insert(size_t axis, const T& val);
void remove(size_t axis);
void clear();
bool exist(size_t axis) const;
};
Detailed Documentation¶
Methods¶
T& at(int index)
allows access up-to capacity size
Parameters:
index |
Returns: