MCPcopy 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
56std::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
63bool skip_layout(const shape& s)
64{

Callers 1

transform_convolutionsFunction · 0.85

Calls 5

iotaFunction · 0.85
ndimMethod · 0.80
get_shapeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected