| 746 | } |
| 747 | |
| 748 | void 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 | |
| 757 | void generic_data_reader::set_data_filename(std::string s) { m_data_fn = s; } |
| 758 |
no outgoing calls
no test coverage detected