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

Function insert_ops

src/simplify_reshapes.cpp:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147instruction_ref
148insert_ops(module& m, instruction_ref ins, const std::vector<operation>& ops, instruction_ref input)
149{
150 return std::accumulate(
151 ops.begin(), ops.end(), input, [&](instruction_ref x, const operation& op) {
152 return m.insert_instruction(ins, op, x);
153 });
154}
155
156struct find_nested_shape_transforms
157{

Callers 4

applyMethod · 0.85
applyMethod · 0.85
transform_indicesMethod · 0.85
applyMethod · 0.85

Calls 4

accumulateFunction · 0.85
insert_instructionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected