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

Function HasRefInput

tensorflow/core/graph/optimizer_cse.cc:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static bool HasRefInput(const Node* n) {
126 for (auto dt : n->input_types()) {
127 if (IsRefType(dt)) return true;
128 }
129 return false;
130}
131
132bool OptimizerCSE::Equivalent(const Node* a, const Node* b,
133 AttrSlice::Scratch* scratch) {

Callers 1

EquivalentMethod · 0.70

Calls 1

IsRefTypeFunction · 0.85

Tested by

no test coverage detected