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

Method add_input

tensorflow/core/graph/template_base.h:432–436  ·  view source on GitHub ↗

helper functions for constructing new subgraph

Source from the content-addressed store, hash-verified

430 protected:
431 // helper functions for constructing new subgraph
432 void add_input(NodeDef& ndef, const Edge* iedge) {
433 std::string input_name = strings::StrCat(iedge->src()->def().name(),
434 ":", iedge->src_output());
435 ndef.add_input(input_name);
436 }
437
438 void copy_attr(NodeDef& dst, const NodeDef& src) {
439 auto attr = src.attr();

Callers 15

GetOperationNodeDefFunction · 0.45
SumGraphFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
BuildIdentityNodeFunction · 0.45
TEST_FFunction · 0.45
SumGraphFunction · 0.45
BuildGraphMethod · 0.45
MakeNodeDefFunction · 0.45

Calls 4

nameMethod · 0.65
StrCatFunction · 0.50
srcMethod · 0.45
src_outputMethod · 0.45

Tested by 15

SumGraphFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
SumGraphFunction · 0.36
BuildGraphMethod · 0.36
MakeNodeDefFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36