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

Method release

tensorflow/compiler/xrt/xrt_refptr.h:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 T* release() {
78 T* ptr = ptr_;
79 ptr_ = nullptr;
80 return ptr;
81 }
82
83 // Resets the RefPtr from a pointer. This is an ownership transfer operation,
84 // and the caller has to own a valid reference to ptr (unless ptr is nullptr).

Callers 6

CreateAndTransferMethod · 0.45
CreateUninitializedMethod · 0.45
SwapInMethod · 0.45
MakeTupleMethod · 0.45
SendTensorMethod · 0.45
RunExecutableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected