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

Function AddName

tensorflow/core/framework/op_def_util.cc:505–509  ·  view source on GitHub ↗

Will add the `name` from arg if name is true.

Source from the content-addressed store, hash-verified

503
504// Will add the `name` from arg if name is true.
505void AddName(string* s, bool name, const OpDef::ArgDef& arg) {
506 if (name) {
507 strings::StrAppend(s, arg.name(), ":");
508 }
509}
510
511// Compute a signature for either inputs or outputs that will be the
512// same for both the old and new OpDef if they are compatible. We

Callers 1

ComputeArgSignatureFunction · 0.85

Calls 2

nameMethod · 0.65
StrAppendFunction · 0.50

Tested by

no test coverage detected