class ov::CoordinateDiff¶
A difference (signed) of tensor element coordinates.
#include <coordinate_diff.hpp>
class CoordinateDiff: public std::vector< std::ptrdiff_t >
{
public:
// construction
CoordinateDiff(const std::initializer_list<std::ptrdiff_t>& diffs);
CoordinateDiff(const std::vector<std::ptrdiff_t>& diffs);
CoordinateDiff(const CoordinateDiff& diffs);
CoordinateDiff(size_t n, std::ptrdiff_t initial_value = 0);
template <class InputIterator>
CoordinateDiff(
InputIterator first,
InputIterator last
);
CoordinateDiff();
// methods
OPENVINO_API CoordinateDiff& operator = (const CoordinateDiff& v);
OPENVINO_API CoordinateDiff& operator = (CoordinateDiff&& v);
};