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

Method IsSinkLike

tensorflow/compiler/jit/mark_for_compilation_pass.cc:658–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656}
657
658bool MarkForCompilationPassImpl::IsSinkLike(const Cluster& cluster) {
659 if (Node* n = GetOnlyNodeIn(cluster)) {
660 return n->type_string() == "NoOp" && n->out_edges().size() == 1 &&
661 (*n->out_edges().begin())->dst()->IsSink();
662 }
663
664 return false;
665}
666
667bool MarkForCompilationPassImpl::IsScalarIntegerResourceOperation(
668 const Cluster& cluster) {

Callers

nothing calls this directly

Calls 4

IsSinkMethod · 0.80
sizeMethod · 0.45
dstMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected