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

Method debug_print

src/instruction.cpp:460–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460void instruction::debug_print() const
461{
462 debug_name(std::cout, *this);
463 std::string delim = "(";
464 for(auto arg : this->inputs())
465 {
466 std::cout << delim;
467 debug_name(std::cout, *arg);
468 delim = ", ";
469 }
470 if(not this->inputs().empty())
471 std::cout << ")";
472 std::cout << " -> " << this->get_shape() << std::endl;
473}
474
475std::vector<instruction_ref> instruction::get_output_alias(instruction_ref ins, bool shallow)
476{

Callers

nothing calls this directly

Calls 4

debug_nameFunction · 0.85
inputsMethod · 0.45
emptyMethod · 0.45
get_shapeMethod · 0.45

Tested by

no test coverage detected