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

Method WithName

tensorflow/core/graph/graph_def_builder.cc:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27GraphDefBuilder::Options::~Options() {}
28
29GraphDefBuilder::Options GraphDefBuilder::Options::WithName(
30 StringPiece name) const {
31 return Options(*this).WithNameImpl(name);
32}
33GraphDefBuilder::Options GraphDefBuilder::Options::WithDevice(
34 StringPiece device) const {
35 return Options(*this).WithDeviceImpl(device);

Callers 13

TEST_FFunction · 0.45
ReferenceTestHelperMethod · 0.45
TEST_PFunction · 0.45
AsGraphDefFunction · 0.45
AddControlLoopFunction · 0.45
AddControlFlowFunction · 0.45
BM_SubgraphHelperFunction · 0.45
TESTFunction · 0.45
CollectiveReduceNodeFunction · 0.45
InitGraphFunction · 0.45
InitGraph2Function · 0.45
InitGraphForPruningFunction · 0.45

Calls 2

WithNameImplMethod · 0.80
OptionsClass · 0.70

Tested by 10

TEST_FFunction · 0.36
ReferenceTestHelperMethod · 0.36
TEST_PFunction · 0.36
BM_SubgraphHelperFunction · 0.36
TESTFunction · 0.36
CollectiveReduceNodeFunction · 0.36
InitGraphFunction · 0.36
InitGraph2Function · 0.36
InitGraphForPruningFunction · 0.36
TEST_FFunction · 0.36