MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / copy

Method copy

include/base/memory.h:96–99  ·  view source on GitHub ↗

Copy data from another memory */

Source from the content-addressed store, hash-verified

94
95 /** Copy data from another memory */
96 void copy(const Memory &m) {
97 resize(m.count);
98 memcpy(host_ptr, m.host_ptr, count * sizeof(Data));
99 }
100
101 /** Copy data from a pointer */
102 void copy(void *ptr, Index _count) {

Callers 4

generate_maskMethod · 0.80
write_embeddingMethod · 0.80
trainMethod · 0.80
predictMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected