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

Function check_optimize_shape_transforms

test/shape_transform_descriptor.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static std::vector<migraphx::operation>
110check_optimize_shape_transforms(const std::vector<std::size_t>& dims,
111 const std::vector<migraphx::operation>& ops)
112{
113 auto result = migraphx::optimize_shape_transforms(dims, ops);
114 CHECK(run_shape_transforms(dims, ops) == run_shape_transforms(dims, result));
115 CHECK(result == migraphx::optimize_shape_transforms(dims, result));
116 return result;
117}
118
119template <class... Ts>
120static shape_transform_descriptor make_descriptor(const std::vector<std::size_t>& dims,

Callers 1

TEST_CASEFunction · 0.85

Calls 2

run_shape_transformsFunction · 0.85

Tested by

no test coverage detected