Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ CopyToBuffer
Function
CopyToBuffer
tensorflow/lite/toco/toco_port.cc:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
namespace toco {
30
namespace port {
31
void CopyToBuffer(const string& src, char* dest) {
32
memcpy(dest, src.data(), src.size());
33
}
34
35
#ifdef PLATFORM_GOOGLE
36
void CopyToBuffer(const Cord& src, char* dest) { src.CopyToArray(dest); }
Callers
10
LogDumpGraphDef
Function · 0.70
CopyFromContent
Method · 0.70
CopyFromContent
Method · 0.70
CopyFromContent
Method · 0.70
CopyFromContent
Method · 0.70
CopyFromContent
Method · 0.70
CopyFromContent
Method · 0.70
TEST_F
Function · 0.50
InferFilterRank
Method · 0.50
MaybeMergeConstNodes
Method · 0.50
Calls
3
CopyToArray
Method · 0.80
data
Method · 0.45
size
Method · 0.45
Tested by
1
TEST_F
Function · 0.40