Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/AMDMIGraphX
/ get_default_permutation
Function
get_default_permutation
src/layout_convolution.cpp:56–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
}
55
56
std::vector<int64_t> get_default_permutation(instruction_ref ins)
57
{
58
std::vector<int64_t> perm(ins->get_shape().ndim());
59
std::iota(perm.begin(), perm.end(), 0);
60
return perm;
61
}
62
63
bool skip_layout(const shape& s)
64
{
Callers
1
transform_convolutions
Function · 0.85
Calls
5
iota
Function · 0.85
ndim
Method · 0.80
get_shape
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected