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

Function for_each_subdimension

src/shape_transform_descriptor.cpp:81–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80template <class Dimensions, class F>
81static auto for_each_subdimension(Dimensions&& dimensions,
82 F f) -> decltype(dimensions.begin()->subdimensions, void())
83{
84 for(auto& dim : dimensions)
85 {
86 for(auto& s : dim.subdimensions)
87 {
88 f(s);
89 }
90 }
91}
92
93template <class SubDimensions, class F>
94static auto for_each_subdimension(SubDimensions&& subdimensions,

Callers 8

group_axesFunction · 0.85
for_each_axis_groupMethod · 0.85
fill_split_hidden_axesFunction · 0.85
generateMethod · 0.85
find_broadcasted_axesMethod · 0.85
to_dst_from_commonMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected