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

Method ScheduleIntraOpClosure

tensorflow/core/framework/run_handler.cc:743–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741}
742
743void RunHandler::Impl::ScheduleIntraOpClosure(std::function<void()> fn) {
744 VLOG(3) << "Scheduling intra work for " << tws()->GetTracemeId();
745 pool_impl_->run_handler_thread_pool()->AddWorkToQueue(tws(), false,
746 std::move(fn));
747}
748
749void RunHandler::Impl::Reset(int64 step_id) {
750 start_time_us_ = tensorflow::Env::Default()->NowMicros();

Callers 1

ScheduleMethod · 0.80

Calls 3

GetTracemeIdMethod · 0.80
AddWorkToQueueMethod · 0.80

Tested by

no test coverage detected