22 #include "ngraph/attribute_adapter.hpp"
23 #include "ngraph/axis_set.hpp"
24 #include "ngraph/shape.hpp"
33 NGRAPH_API
Coordinate(
const std::initializer_list<size_t>& axes);
37 NGRAPH_API
Coordinate(
const std::vector<size_t>& axes);
41 NGRAPH_API
Coordinate(
size_t n,
size_t initial_value = 0);
45 template <
class InputIterator>
46 Coordinate(InputIterator first, InputIterator last)
47 : std::vector<size_t>(first, last)
66 static constexpr
DiscreteTypeInfo type_info{
"AttributeAdapter<Coordinate>", 0};
71 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:171
Coordinates for a tensor element.
Definition: coordinate.hpp:30
Definition: attribute_adapter.hpp:137
Shape for a tensor.
Definition: shape.hpp:31
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28