| 816 | } |
| 817 | |
| 818 | void SubgraphTask::ReleaseNodeInputWaitCounter(Node* node) |
| 819 | { |
| 820 | if(!node->ExistAttr("input_wait_counter")) |
| 821 | return; |
| 822 | |
| 823 | std::atomic<std::uint64_t>* p_counter = any_cast<std::atomic<std::uint64_t>*>(node->GetAttr("input_wait_counter")); |
| 824 | |
| 825 | delete p_counter; |
| 826 | } |
| 827 | |
| 828 | void SubgraphTask::Release(void) |
| 829 | { |