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

Function run_pass

test/simplify_reshapes_test.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#include <test.hpp>
36
37static void run_pass(migraphx::module& m)
38{
39 migraphx::run_passes(m,
40 {
41 migraphx::simplify_reshapes{.enable_op_shape_transform_op = true,
42 .enable_gather_rewrite = true},
43 migraphx::eliminate_common_subexpression{},
44 migraphx::dead_code_elimination{},
45 });
46}
47
48inline static std::vector<std::vector<std::size_t>>
49to_lens(const std::vector<migraphx::shape>& shapes)

Callers 1

TEST_CASEFunction · 0.70

Calls 1

run_passesFunction · 0.85

Tested by

no test coverage detected