MCPcopy Create free account
hub / github.com/BVLC/caffe / hdf5_save_string

Function hdf5_save_string

src/caffe/util/hdf5.cpp:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void hdf5_save_string(hid_t loc_id, const string& dataset_name,
165 const string& s) {
166 herr_t status = \
167 H5LTmake_dataset_string(loc_id, dataset_name.c_str(), s.c_str());
168 CHECK_GE(status, 0)
169 << "Failed to save string dataset with name " << dataset_name;
170}
171
172int hdf5_load_int(hid_t loc_id, const string& dataset_name) {
173 int val;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected