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

Function TF_MaybeDeleteBuffer

tensorflow/java/src/main/native/session_jni.cc:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void TF_MaybeDeleteBuffer(TF_Buffer* buf) {
60 if (buf == nullptr) return;
61 TF_DeleteBuffer(buf);
62}
63
64typedef std::unique_ptr<TF_Buffer, decltype(&TF_MaybeDeleteBuffer)>
65 unique_tf_buffer;

Callers

nothing calls this directly

Calls 1

TF_DeleteBufferFunction · 0.85

Tested by

no test coverage detected