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

Function MakeNodeConst

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

Source from the content-addressed store, hash-verified

26//=== Helper methods to construct the nodes.
27
28NodeDef MakeNodeConst(const string& name) {
29 NodeDef n;
30 n.set_name(name);
31 n.set_op("Const");
32 return n;
33}
34
35NodeDef MakeNode2Arg(const string& name, const string& opcode,
36 const string& arg1, const string& arg2) {

Callers 5

TEST_FFunction · 0.85
TestGraphsMethod · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

set_opMethod · 0.80
set_nameMethod · 0.45

Tested by

no test coverage detected