class ov::Strides

Strides for a tensor.

#include <strides.hpp>

class Strides: public std::vector< size_t >
{
public:
    // construction

    Strides();
    Strides(const std::initializer_list<size_t>& axis_strides);
    Strides(const std::vector<size_t>& axis_strides);
    Strides(const Strides& axis_strides);
    Strides(size_t n, size_t initial_value = 0);

    template <class InputIterator>
    Strides(InputIterator first, InputIterator last);

    // methods

    OPENVINO_API Strides& operator = (const Strides& v);
    OPENVINO_API Strides& operator = (Strides&& v);
};