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

Method BuildResourceHandle

tensorflow/core/framework/resource_handle.cc:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31Status ResourceHandle::BuildResourceHandle(const ResourceHandleProto& proto,
32 ResourceHandle* out) {
33 if (out == nullptr)
34 return errors::Internal(
35 "BuildResourceHandle() was called with nullptr for the output");
36 return out->FromProto(proto);
37}
38
39ResourceHandle::~ResourceHandle() {}
40

Callers

nothing calls this directly

Calls 2

InternalFunction · 0.85
FromProtoMethod · 0.45

Tested by

no test coverage detected