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

Function IsSameInput

tensorflow/core/grappler/utils.cc:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171bool IsSameInput(const string& name1, const string& name2) {
172 if (name1 == name2) return true;
173 TensorId tensor1 = ParseTensorName(name1);
174 TensorId tensor2 = ParseTensorName(name2);
175 return tensor1 == tensor2;
176}
177
178bool IsControlInput(const string& name) {
179 return !name.empty() && name[0] == '^';

Callers 3

AddControlDependencyMethod · 0.85
MergeConcatMethod · 0.85
CompareFunction · 0.85

Calls 1

ParseTensorNameFunction · 0.85

Tested by

no test coverage detected