class ov::Coordinate

Coordinates for a tensor element.

#include <coordinate.hpp>

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

    Coordinate();
    Coordinate(const std::initializer_list<size_t>& axes);
    Coordinate(const Shape& shape);
    Coordinate(const std::vector<size_t>& axes);
    Coordinate(const Coordinate& axes);
    Coordinate(size_t n, size_t initial_value = 0);

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

    // methods

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