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

Function FinalizeOpDef

tensorflow/core/framework/graph_def_util_test.cc:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace {
30
31Status FinalizeOpDef(const OpDefBuilder& b, OpDef* op_def) {
32 OpRegistrationData op_reg_data;
33 const Status s = b.Finalize(&op_reg_data);
34 *op_def = op_reg_data.op_def;
35 return s;
36}
37
38// We can create a Graph containing a namespaced Op
39TEST(AddToGraphTest, MakeGraphDefWithNamespacedOpName) {

Callers 1

TESTFunction · 0.85

Calls 1

FinalizeMethod · 0.45

Tested by

no test coverage detected