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

Method IncrementIteration

tensorflow/core/common_runtime/propagator_state.cc:664–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664PropagatorState::IterationState*
665PropagatorState::FrameState::IncrementIteration(TaggedNodeSeq* ready) {
666 iteration_count++;
667
668 // Initialize the next iteration.
669 IterationState* next_iter =
670 new IterationState(iteration_count, pending_counts, total_input_tensors);
671 SetIteration(iteration_count, next_iter);
672 num_outstanding_iterations++;
673 dead_exits.clear();
674
675 // Activate the successors of the deferred roots in the new iteration.
676 ActivateNexts(next_iter, ready);
677
678 // Activate the loop invariants in the new iteration.
679 ActivateLoopInvs(next_iter, ready);
680
681 return next_iter;
682}
683
684bool PropagatorState::FrameState::CleanupIterations(IterationState* iter_state,
685 TaggedNodeSeq* ready) {

Callers 1

PropagateOutputsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected