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

Method remove_instruction

src/module.cpp:397–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397instruction_ref module::remove_instruction(instruction_ref ins)
398{
399 assert(has_instruction(ins));
400 assert(ins->outputs().empty());
401 ins->clear_arguments();
402 return impl->erase(ins);
403}
404
405instruction_ref module::remove_instructions(instruction_ref first, instruction_ref last)
406{

Callers 13

TEST_CASEFunction · 0.80
optimize_tfFunction · 0.80
read_rnn_onnxFunction · 0.80
optimize_onnxFunction · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
trim_moduleFunction · 0.80
applyMethod · 0.80
applyMethod · 0.80
adjust_param_shapesFunction · 0.80

Calls 4

outputsMethod · 0.80
clear_argumentsMethod · 0.80
eraseMethod · 0.80
emptyMethod · 0.45

Tested by 4

TEST_CASEFunction · 0.64
optimize_tfFunction · 0.64
read_rnn_onnxFunction · 0.64
optimize_onnxFunction · 0.64