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

Function TF_NewBuffer

tensorflow/c/c_api.cc:130–130  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

128}
129// --------------------------------------------------------------------------
130TF_Buffer* TF_NewBuffer() { return new TF_Buffer{nullptr, 0, nullptr}; }
131
132TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len) {
133 void* copy = tensorflow::port::Malloc(proto_len);

Callers 15

GraphDebugStringMethod · 0.85
GetAttrMethod · 0.85
TEST_FFunction · 0.85
TF_GetAllOpListFunction · 0.85
TF_ApiDefMapGetFunction · 0.85
TF_CreateConfigFunction · 0.85

Calls

no outgoing calls

Tested by 12

GraphDebugStringMethod · 0.68
GetAttrMethod · 0.68
TEST_FFunction · 0.68
GetGraphDefFunction · 0.68
GetNodeDefFunction · 0.68
GetFunctionDefFunction · 0.68
GetAttrValueFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
ExecuteWithTracingFunction · 0.68
ExecuteWithProfilingFunction · 0.68
TESTFunction · 0.68