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

Function tune_pad_attribute

src/normalize_attributes.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static auto tune_pad_attribute(const value& val)
174{
175
176 std::vector<size_t> vec_attrs = val.to_vector<size_t>();
177 std::vector<size_t> result(vec_attrs.begin(), vec_attrs.end());
178 std::copy(vec_attrs.begin(), vec_attrs.end(), std::back_inserter(result));
179
180 return result;
181}
182
183/**
184 * Assumptions:

Callers 1

normalize_attributesFunction · 0.85

Calls 3

copyFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected