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

Function normalize_axes

src/normalize_attributes.cpp:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265std::vector<int64_t> normalize_axes(const std::vector<int64_t>& axes,
266 const shape& input_shape,
267 const value& attr_val,
268 const std::string& prefix)
269{
270 return tune_attribute(axes, {}, attr_val, input_shape, [&] { return prefix; });
271}
272
273std::vector<int64_t> normalize_indices(const std::vector<int64_t>& indices,
274 const std::vector<int64_t>& axes,

Callers 1

Calls 1

tune_attributeFunction · 0.85

Tested by

no test coverage detected