MCPcopy Create free account
hub / github.com/OpenNMT/CTranslate2 / ModelFileReader

Method ModelFileReader

src/models/model_reader.cc:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18 ModelFileReader::ModelFileReader(std::string model_dir)
19 : _model_dir(std::move(model_dir))
20 {
21 }
22
23 std::string ModelFileReader::get_model_id() const {
24 return _model_dir;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected