| 308 | class TFGraphNode { |
| 309 | public: |
| 310 | TFGraphNode(const ProfileNode& node, const ProfileProto& profile, |
| 311 | const std::map<int64, string>* id_to_string, |
| 312 | const std::map<string, std::unique_ptr<TFGraphNode>>* nodes_map) { |
| 313 | nodes_map_ = nodes_map; |
| 314 | FromProto(node, profile, id_to_string); |
| 315 | } |
| 316 | |
| 317 | TFGraphNode(const NodeDef* node, int64 id, |
| 318 | const std::map<string, std::unique_ptr<TFGraphNode>>* nodes_map) { |