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

Function IsEnqueue

tensorflow/core/grappler/costs/graph_properties.cc:270–273  ·  view source on GitHub ↗

TODO(dyoon): Move many helper functions in this file (including those within SymbolicShapeRefiner class) to shared utils.

Source from the content-addressed store, hash-verified

268// TODO(dyoon): Move many helper functions in this file (including those within
269// SymbolicShapeRefiner class) to shared utils.
270bool IsEnqueue(const NodeDef& n) {
271 return (n.op().find("Enqueue") != string::npos &&
272 n.op().find("EnqueueMany") == string::npos);
273}
274
275bool IsDequeue(const NodeDef& n) {
276 return (n.op().find("Dequeue") != string::npos &&

Callers 3

UpdateShapesMethod · 0.85
PropagateShapesMethod · 0.85
InferStaticallyMethod · 0.85

Calls 2

findMethod · 0.45
opMethod · 0.45

Tested by

no test coverage detected