| 1946 | } |
| 1947 | |
| 1948 | std::size_t shape_transform_descriptor::common_rank() const |
| 1949 | { |
| 1950 | return transform_accumulate(dimensions.begin(), |
| 1951 | dimensions.end(), |
| 1952 | std::size_t{0}, |
| 1953 | std::plus<>{}, |
| 1954 | [&](const dimension& d) { return d.subdimensions.size(); }); |
| 1955 | } |
| 1956 | |
| 1957 | const std::vector<std::size_t>& shape_transform_descriptor::dimension::sub::origin_axis() const |
| 1958 | { |
no test coverage detected