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

Method ~DeviceMgr

tensorflow/core/common_runtime/device_mgr.cc:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }()) {}
51
52DeviceMgr::~DeviceMgr() {
53 // Release resources ahead of destroying the device manager as the resource
54 // destructors (e.g. ~IteratorResource) assume devices still exist.
55 for (auto& device : devices_) {
56 device->ClearResourceMgr();
57 }
58}
59
60StringPiece DeviceMgr::CopyToBackingStore(StringPiece s) {
61 size_t n = s.size();

Callers

nothing calls this directly

Calls 1

ClearResourceMgrMethod · 0.80

Tested by

no test coverage detected