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

Method RunTask

tensorflow/core/common_runtime/executor.cc:577–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575template <class PropagatorStateType>
576template <typename Closure>
577void ExecutorState<PropagatorStateType>::RunTask(Closure&& c) {
578 // mutable is needed because std::forward<Closure> in the lambda body may move
579 // the Closure `c`.
580 runner_([c = std::forward<Closure>(c)]() mutable {
581 std::forward<Closure>(c)();
582 });
583}
584
585template <class PropagatorStateType>
586void ExecutorState<PropagatorStateType>::RunAsync(Executor::DoneCallback done) {

Callers 1

ScheduleReadyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected