MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ApiDefMap

Method ApiDefMap

tensorflow/core/framework/op_gen_lib.cc:472–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470} // namespace
471
472ApiDefMap::ApiDefMap(const OpList& op_list) {
473 for (const auto& op : op_list.op()) {
474 ApiDef api_def;
475 InitApiDefFromOpDef(op, &api_def);
476 map_[op.name()] = api_def;
477 }
478}
479
480ApiDefMap::~ApiDefMap() {}
481

Callers 3

testApiDefMapOpNamesMethod · 0.80
testApiDefMapGetMethod · 0.80

Calls 3

InitApiDefFromOpDefFunction · 0.85
nameMethod · 0.65
opMethod · 0.45

Tested by 3

testApiDefMapOpNamesMethod · 0.64
testApiDefMapGetMethod · 0.64