MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / common_rank

Method common_rank

src/shape_transform_descriptor.cpp:1948–1955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1946}
1947
1948std::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
1957const std::vector<std::size_t>& shape_transform_descriptor::dimension::sub::origin_axis() const
1958{

Callers 2

to_dst_from_commonMethod · 0.80
applyMethod · 0.80

Calls 4

transform_accumulateFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected