| 119 | } |
| 120 | |
| 121 | Tensor* Graph::FindTensor(const std::string& tensor_name) |
| 122 | { |
| 123 | if(tensor_map_.count(tensor_name)) |
| 124 | return tensor_map_[tensor_name]; |
| 125 | |
| 126 | return nullptr; |
| 127 | } |
| 128 | |
| 129 | bool Graph::CreateNodeFromStatic(Node* node, const StaticGraph* static_graph, const StaticNode* static_node) |
| 130 | { |
no outgoing calls