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

Function AddNewOpToHistory

tensorflow/core/ops/compat/op_compatibility_lib.cc:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static void AddNewOpToHistory(const OpDef& op,
47 OpCompatibilityLib::OpHistory* out_op_history) {
48 if (out_op_history != nullptr) {
49 out_op_history->emplace_back(FileNameFromOpName(op.name()), OpList());
50 *out_op_history->back().second.add_op() = op;
51 }
52}
53
54static Status ReadOpHistory(Env* env, const string& file,
55 const string& directory,

Callers 2

ReadOpHistoryFunction · 0.85
ValidateCompatibleMethod · 0.85

Calls 5

FileNameFromOpNameFunction · 0.85
nameMethod · 0.65
emplace_backMethod · 0.45
add_opMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected