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

Method keep_sample_order

src/data_readers/data_reader.cpp:748–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746}
747
748void generic_data_reader::keep_sample_order(bool same_order)
749{
750 // The sample_list::keep_sample_order() should be called using this
751 // flag. By doing so, it will add additional step to re-shuffle the
752 // sample order to restore it to the original before the loading
753 // with interleaving accesses by multiple ranks in a trainer.
754 m_keep_sample_order = same_order;
755}
756
757void generic_data_reader::set_data_filename(std::string s) { m_data_fn = s; }
758

Callers 4

init_data_readersFunction · 0.45
load_list_of_samplesMethod · 0.45
gen_list_of_samplesMethod · 0.45
load_list_of_samplesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected