| 230 | void Graph::set_batch_size(int batch_size) { graph_->set_batch_size(batch_size); } |
| 231 | |
| 232 | Graph Graph::Load(const std::string& model_path, const Device& device) { |
| 233 | #ifdef __linux__ |
| 234 | LoadOneEmbedding(model_path, device); |
| 235 | #endif // __linux__ |
| 236 | Graph graph(model_path, device); |
| 237 | return graph; |
| 238 | } |
| 239 | |
| 240 | Graph::GraphImpl::GraphImpl(const std::string& model_path, const Device& device) |
| 241 | : model_path_(model_path), device_(device) { |
nothing calls this directly
no test coverage detected