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

Method GetResourceManager

tensorflow/compiler/xrt/xrt_device.cc:27–31  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

25namespace tensorflow {
26
27/*static*/ Status XRTGenericDeviceAccessor::GetResourceManager(
28 OpKernelContext* ctx, ResourceMgr** rm) {
29 *rm = ctx->resource_manager();
30 return Status::OK();
31}
32
33/*static*/ Status XRTGenericDeviceAccessor::InitScopedRef(
34 OpKernelContext* ctx, int device_ordinal, ScopedRef* scoped_ref) {

Callers

nothing calls this directly

Calls 1

resource_managerMethod · 0.45

Tested by

no test coverage detected