| 44 | |
| 45 | template <typename Func> |
| 46 | void ForEachIConnectableLayer(Func func) const |
| 47 | { |
| 48 | for (auto it = m_IConnectableLayers.begin(); it != m_IConnectableLayers.end(); ) |
| 49 | { |
| 50 | auto next = std::next(it); |
| 51 | func(*it); |
| 52 | it = next; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | using SubgraphViewPtr = std::shared_ptr<SubgraphView>; |
| 57 | using InputSlots = std::vector<InputSlot*>; |