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

Function print_make_op

src/module.cpp:1330–1343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330static void print_make_op(std::ostream& os, const operation& op)
1331{
1332 auto v = op.to_value();
1333 if(not v.empty())
1334 {
1335 os << "migraphx::make_json_op(" << enclose_name(op.name());
1336 os << ", " << enclose_name(to_json_string(v));
1337 }
1338 else
1339 {
1340 os << "migraphx::make_op(" << enclose_name(op.name());
1341 }
1342 os << ")";
1343}
1344
1345static void print_py_shape(std::ostream& os, const migraphx::shape& s)
1346{

Callers 1

print_cppMethod · 0.85

Calls 5

to_json_stringFunction · 0.85
enclose_nameFunction · 0.70
to_valueMethod · 0.45
emptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected