| 451 | std::unordered_map<int, Stream> stream_map; |
| 452 | |
| 453 | PrimitiveFactory() { |
| 454 | for (auto& [n, f] : factory) { |
| 455 | for (auto& k : f.keys) { |
| 456 | name_remap[k] = n; |
| 457 | } |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | void save(Writer& os, const std::shared_ptr<Primitive>& p) { |
| 462 | serialize(os, p->stream()); |
nothing calls this directly
no outgoing calls
no test coverage detected