MCPcopy Create free account
hub / github.com/LBANN/lbann / load_schema

Method load_schema

src/data_readers/data_reader_HDF5.cpp:259–269  ·  view source on GitHub ↗

master loads the experiment-schema then bcasts to others

Source from the content-addressed store, hash-verified

257
258// master loads the experiment-schema then bcasts to others
259void hdf5_data_reader::load_schema(std::string filename, conduit::Node& schema)
260{
261 if (m_comm->am_trainer_master()) {
262 conduit::relay::io::load(filename, schema);
263 }
264
265 conduit::relay::mpi::broadcast_using_schema(
266 schema,
267 m_comm->get_trainer_master(),
268 m_comm->get_trainer_comm().GetMPIComm());
269}
270
271void hdf5_data_reader::do_preload_data_store()
272{

Callers

nothing calls this directly

Calls 3

am_trainer_masterMethod · 0.80
get_trainer_masterMethod · 0.80
loadFunction · 0.50

Tested by

no test coverage detected