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

Method Close

tensorflow/core/common_runtime/direct_session.cc:2374–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2372}
2373
2374::tensorflow::Status DirectSession::Close() {
2375 cancellation_manager_->StartCancel();
2376 {
2377 mutex_lock l(closed_lock_);
2378 if (closed_) return ::tensorflow::Status::OK();
2379 closed_ = true;
2380 }
2381 if (factory_ != nullptr) factory_->Deregister(this);
2382 return ::tensorflow::Status::OK();
2383}
2384
2385DirectSession::RunState::RunState(
2386 const std::vector<string>& pending_input_names,

Callers 2

ResetMethod · 0.45
TESTFunction · 0.45

Calls 2

StartCancelMethod · 0.45
DeregisterMethod · 0.45

Tested by 1

TESTFunction · 0.36