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

Method AddAttr

tensorflow/core/graph/graph.h:272–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270
271 template <typename T>
272 void AddAttr(const string& name, const T& val) {
273 SetAttrValue(val, AddAttrHelper(name));
274 UpdateProperties();
275 }
276
277 void AddAttr(const string& name, std::vector<string>&& val) {
278 MoveAttrValue(std::move(val), AddAttrHelper(name));

Callers 15

ModifySharedNameAttrFunction · 0.80
RunMethod · 0.80
TESTFunction · 0.80
CompileFunctionMethod · 0.80

Calls 2

MoveAttrValueFunction · 0.85
SetAttrValueFunction · 0.50

Tested by 15

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
AddToClusterFunction · 0.64
MakeBodyGraphFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64