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

Method ActivateRoots

tensorflow/core/common_runtime/propagator_state.cc:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void PropagatorState::ActivateRoots(gtl::ArraySlice<const NodeItem*> roots,
54 TaggedNodeSeq* ready) {
55 mutex_lock l(root_frame_->mu);
56 IterationState* root_iter = root_frame_->GetIteration(0);
57 for (const NodeItem* item : roots) {
58 DCHECK_EQ(item->num_inputs, 0);
59 ready->emplace_back(item, root_frame_, root_iter, false);
60 }
61 root_iter->outstanding_ops = ready->size();
62}
63
64void PropagatorState::PropagateOutputs(const TaggedNode& tagged_node,
65 EntryVector* outputs,

Callers 1

RunAsyncMethod · 0.45

Calls 2

emplace_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected