Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/parameter_server
/ setZero
Method
setZero
src/util/shared_array.h:108–108 ·
view source on GitHub ↗
set all entries into 0
Source
from the content-addressed store, hash-verified
106
void setValue(V value);
107
// set all entries into 0
108
void setZero() { memset(data_, 0, size_*sizeof(V)); }
109
// set values according to *cf*
110
void setValue(const ParameterInitConfig& cf);
111
Callers
7
TEST
Function · 0.80
SetUp
Method · 0.80
run
Method · 0.80
parallelOrderedMatch
Function · 0.80
resize
Method · 0.80
alterStorage
Method · 0.80
resize
Method · 0.80
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.64
SetUp
Method · 0.64