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

Method GarbageCollect

tensorflow/core/distributed_runtime/master_session.cc:2340–2348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2338}
2339
2340void MasterSession::GarbageCollect() {
2341 {
2342 mutex_lock l(mu_);
2343 closed_ = true;
2344 garbage_collected_ = true;
2345 }
2346 cancellation_manager_.StartCancel();
2347 Unref();
2348}
2349
2350MasterSession::RunState::RunState(const std::vector<string>& input_names,
2351 const std::vector<string>& output_names,

Callers 1

GCMethod · 0.80

Calls 1

StartCancelMethod · 0.45

Tested by

no test coverage detected