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

Function AddNodeAttr

tensorflow/core/framework/node_def_util.h:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122// forward {...} initialization.
123template <class T>
124void AddNodeAttr(StringPiece name, std::initializer_list<T> value,
125 NodeDef* node_def) {
126 AddNodeAttr(name, gtl::ArraySlice<T>(value), node_def);
127}
128
129// Adds an attr to an attr value map.
130void AddAttr(StringPiece name, const AttrValue& value, AttrValueMap* map);

Callers 15

TESTFunction · 0.70
ComputePolicyFunction · 0.70
TESTFunction · 0.70
TestRenameAttributeMethod · 0.50
UpdateLegacyFedInputNodeFunction · 0.50
BuildRetvalNodeFunction · 0.50
BuildIdentityNodeFunction · 0.50
TEST_FFunction · 0.50
BuildGraphMethod · 0.50

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.56
ComputePolicyFunction · 0.56
TESTFunction · 0.56
TestRenameAttributeMethod · 0.40
TEST_FFunction · 0.40
BuildGraphMethod · 0.40
MakeCgmodeCompiledKernelFunction · 0.40
MakeXlaCompiledKernelFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
TEST_FFunction · 0.40
SetShapesMethod · 0.40