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

Method clear_arguments

src/instruction.cpp:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113void instruction::recompute_shape() { replace(compute_shape(op, arguments, module_args)); }
114
115void instruction::clear_arguments()
116{
117 for(auto&& arg : arguments)
118 {
119 arg->remove_output(*this);
120 }
121 arguments.clear();
122 module_args.clear();
123}
124
125bool operator==(const instruction& i, instruction_ref ref)
126{

Callers 4

TEST_CASEFunction · 0.80
applyMethod · 0.80
remove_instructionMethod · 0.80
remove_instructionsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected