10 #include "ngraph/attribute_adapter.hpp"
11 #include "ngraph/axis_set.hpp"
12 #include "ngraph/shape.hpp"
21 NGRAPH_API
Coordinate(
const std::initializer_list<size_t>& axes);
25 NGRAPH_API
Coordinate(
const std::vector<size_t>& axes);
29 NGRAPH_API
Coordinate(
size_t n,
size_t initial_value = 0);
33 template <
class InputIterator>
34 Coordinate(InputIterator first, InputIterator last)
35 : std::vector<size_t>(first, last)
54 static constexpr
DiscreteTypeInfo type_info{
"AttributeAdapter<Coordinate>", 0};
59 std::ostream& operator<<(std::ostream& s,
const Coordinate& coordinate);
An AttributeAdapter "captures" an attribute as an AT& and makes it available as a ValueAccessor<VAT>.
Definition: attribute_adapter.hpp:161
Coordinates for a tensor element.
Definition: coordinate.hpp:18
Definition: attribute_adapter.hpp:126
Shape for a tensor.
Definition: shape.hpp:19
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16