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

Function get_final_lens

test/shape_transform_descriptor.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57static final_lens get_final_lens(const shape_transform_descriptor& d)
58{
59 final_lens result;
60 std::transform(d.dimensions.begin(),
61 d.dimensions.end(),
62 std::back_inserter(result),
63 [](const auto& x) { return x.len(); });
64 return result;
65}
66
67static all_axes get_all_axes(const shape_transform_descriptor& d)
68{

Callers 1

TEST_CASEFunction · 0.85

Calls 4

lenMethod · 0.80
transformFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected