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

Method ClearResourceMgr

tensorflow/core/common_runtime/device.h:193–197  ·  view source on GitHub ↗

Clears the resource manager associated with this device.

Source from the content-addressed store, hash-verified

191
192 // Clears the resource manager associated with this device.
193 void ClearResourceMgr() {
194 if (owned_rmgr_) {
195 rmgr_->Clear();
196 }
197 }
198
199 virtual bool IsLocal() const { return true; }
200

Callers 2

~DeviceMgrMethod · 0.80
~CudaGraphModeSessionMethod · 0.80

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected