Class ov::CoordinateTransformBasic#

class CoordinateTransformBasic#

Class which allows to calculate item index with given coordinates in tensor and helps to iterate over all coordinates. Tensor items should be placed in memory in row-major order.

Public Functions

CoordinateIterator begin() const noexcept#

Returns an iterator to the first coordinate of the tensor.

const CoordinateIterator &end() const noexcept#

Returns an iterator to the coordinate following the last element of the tensor.