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

Method ~RunState

tensorflow/core/common_runtime/direct_session.cc:2411–2419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2409 : RunState({}, {}, step_id, devices) {}
2410
2411DirectSession::RunState::~RunState() {
2412 if (rendez != nullptr) {
2413 if (!executors_done.HasBeenNotified()) {
2414 rendez->StartAbort(errors::Cancelled("PRun cancellation"));
2415 executors_done.WaitForNotification();
2416 }
2417 rendez->Unref();
2418 }
2419}
2420
2421bool DirectSession::RunState::PendingDone() const {
2422 for (const auto& it : pending_inputs) {

Callers

nothing calls this directly

Calls 5

CancelledFunction · 0.85
HasBeenNotifiedMethod · 0.80
StartAbortMethod · 0.45
WaitForNotificationMethod · 0.45
UnrefMethod · 0.45

Tested by

no test coverage detected