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

Function invert_permutation

src/permutation.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39std::vector<int64_t> invert_permutation(const std::vector<int64_t>& permutation)
40{
41 return sort_permutation(permutation, std::less<>{});
42}
43
44std::vector<int64_t> find_permutation(const shape& s)
45{

Callers 7

applyMethod · 0.70
generateMethod · 0.70
applyMethod · 0.70
applyMethod · 0.70
from_permutationMethod · 0.70
TEST_CASEFunction · 0.50

Calls 1

sort_permutationFunction · 0.85

Tested by 1

TEST_CASEFunction · 0.40