| 253 | } |
| 254 | |
| 255 | YALMData::YALMData(const std::string& dirname, bool lock_model_weights) { |
| 256 | if (from_directory(dirname, lock_model_weights) != 0) { |
| 257 | std::cerr << "failed to load YALMData from directory" << std::endl; |
| 258 | assert(false); |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | int YALMData::update_from_file(const std::string& filename, bool read_metadata, bool lock_model_weights) { |
| 263 | std::cout << "loading data from file: " << filename << std::endl; |
nothing calls this directly
no outgoing calls
no test coverage detected