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

Function MakeNode2Arg

tensorflow/core/grappler/graph_analyzer/test_tools.cc:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35NodeDef MakeNode2Arg(const string& name, const string& opcode,
36 const string& arg1, const string& arg2) {
37 NodeDef n;
38 n.set_name(name);
39 n.set_op(opcode);
40 n.add_input(arg1);
41 n.add_input(arg2);
42 return n;
43}
44
45NodeDef MakeNode4Arg(const string& name, const string& opcode,
46 const string& arg1, const string& arg2, const string& arg3,

Callers 6

MakeNodeShapeNFunction · 0.85
MakeNodeIdentityNFunction · 0.85
MakeNodeMulFunction · 0.85
MakeNodeAddNFunction · 0.85
MakeNodeSubFunction · 0.85

Calls 3

set_opMethod · 0.80
set_nameMethod · 0.45
add_inputMethod · 0.45

Tested by

no test coverage detected