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

Method set_file_dir

src/data_readers/data_reader.cpp:711–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711void generic_data_reader::set_file_dir(std::string s)
712{
713 if (endsWith(s, "/")) {
714 m_file_dir = s;
715 }
716 else {
717 m_file_dir = s + "/";
718 }
719}
720
721void generic_data_reader::set_local_file_dir(std::string s)
722{

Callers 2

init_data_readersFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64