MCPcopy Create free account
hub / github.com/dmlc/parameter_server / readFromFile

Method readFromFile

src/util/shared_array_inl.h:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177template <typename V>
178bool SArray<V>::readFromFile(SizeR range, const string& file_name) {
179 DataConfig data;
180 data.set_format(DataConfig::BIN);
181 data.add_file(file_name);
182 return readFromFile(range, data);
183}
184
185template <typename V>
186MatrixPtr<V> SArray<V>::matrix(size_t rows, size_t cols) {

Callers 6

indexMethod · 0.45
offsetMethod · 0.45
valueMethod · 0.45
SetUpMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 10

add_fileMethod · 0.80
seekMethod · 0.80
closeMethod · 0.80
set_formatMethod · 0.45
emptyMethod · 0.45
openMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
readMethod · 0.45
getMethod · 0.45

Tested by 3

SetUpMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36