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

Method resource_manager

tensorflow/core/framework/resource_mgr.h:403–403  ·  view source on GitHub ↗

The policy decides that the kernel should access the resource in resource_manager(), the resource is in the container() and its name is name(). If resource_is_private_to_kernel() is true, the kernel should delete the resource when the kernel is deleted.

Source from the content-addressed store, hash-verified

401 // name is name(). If resource_is_private_to_kernel() is true, the
402 // kernel should delete the resource when the kernel is deleted.
403 ResourceMgr* resource_manager() const { return rmgr_; }
404 const string& container() const { return container_; }
405 const string& name() const { return name_; }
406 bool resource_is_private_to_kernel() const {

Callers 7

MakeResourceHandleFunction · 0.45
GetResourceFromContextFunction · 0.45
CreateResourceFunction · 0.45
LookupResourceFunction · 0.45
LookupResourcesFunction · 0.45
LookupOrCreateResourceFunction · 0.45
DeleteResourceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected