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

Function normalize_indices

src/normalize_attributes.cpp:273–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273std::vector<int64_t> normalize_indices(const std::vector<int64_t>& indices,
274 const std::vector<int64_t>& axes,
275 const shape& input_shape,
276 const value& attr_val,
277 const std::string& prefix)
278{
279 return tune_attribute(indices, axes, attr_val, input_shape, [&] { return prefix; });
280}
281
282} // namespace MIGRAPHX_INLINE_NS
283} // namespace migraphx

Callers 1

Calls 1

tune_attributeFunction · 0.85

Tested by

no test coverage detected