| 442 | } |
| 443 | |
| 444 | void AddTensorConsumer(StaticTensor* tensor, StaticNode* node, int idx) |
| 445 | { |
| 446 | NodeSynapse entry; |
| 447 | entry.node_index = node->index; |
| 448 | entry.entry_index = idx; |
| 449 | tensor->consumer.emplace_back(entry); |
| 450 | } |
| 451 | |
| 452 | StaticNode* GetTensorProducer(StaticGraph* graph, StaticTensor* tensor) |
| 453 | { |
no outgoing calls
no test coverage detected