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

Method AddOrUpdateNodeAttr

tensorflow/core/grappler/utils/graph_view.cc:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387void Mutation::AddOrUpdateNodeAttr(MutableNodeView* node,
388 absl::string_view attr_name,
389 const AttrValue& attr_value) {
390 AddMutation(node, [attr_name, attr_value](MutableNodeViewDiff* diff) {
391 internal::AddOrUpdateAttribute(diff, attr_name, attr_value);
392 });
393}
394
395void Mutation::AddOrUpdateNodeAttr(const MutationNewNode& node,
396 absl::string_view attr_name,

Callers 8

TEST_FFunction · 0.80
UpdateNodeMethod · 0.80
UpdateSqueezeDimsMethod · 0.80
PermuteMaskMethod · 0.80
TEST_FFunction · 0.80

Calls 1

AddOrUpdateAttributeFunction · 0.85

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64