Definition at line 75 of file TrixLoader.cc.
◆ TrixLoader()
| onert::trix_loader::TrixLoader::TrixLoader |
( |
| ) |
|
|
default |
Construct a new Loader object.
◆ loadFromFile()
| std::unique_ptr< ir::Model > onert::trix_loader::TrixLoader::loadFromFile |
( |
const std::string & |
file_path | ) |
|
|
overridevirtual |
Load a model from file.
- Parameters
-
Implements onert::loader::ILoader.
Definition at line 219 of file TrixLoader.cc.
220{
221 auto model = std::make_unique<ir::Model>();
222
223 std::stringstream ss{file_path};
224 std::string path;
225 while (std::getline(ss, path, ';'))
226 {
227
228
229 _model_path.push_back(path);
230 }
231
232 loadModel(model);
233
235}
The documentation for this class was generated from the following file: