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

Function get_all_subdimensions

src/shape_transform_descriptor.cpp:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static std::vector<dimension::sub> get_all_subdimensions(const std::vector<dimension>& dimensions)
104{
105 std::vector<dimension::sub> result;
106 for(const auto& dim : dimensions)
107 {
108 result.insert(result.end(), dim.subdimensions.begin(), dim.subdimensions.end());
109 }
110 return result;
111}
112
113template <class Vector>
114static std::vector<dimension::sub*> get_pointer_subdimensions(Vector& v)

Callers 6

apply_reshapeMethod · 0.85
apply_reshape_implMethod · 0.85
generateMethod · 0.85
to_common_from_srcMethod · 0.85
to_src_from_commonMethod · 0.85

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected