| 760 | /* ===================== StaticInferManagerImpl ===================== */ |
| 761 | |
| 762 | StaticInferManagerImpl::~StaticInferManagerImpl() noexcept { |
| 763 | m_mem_pool_shape_trait.disable_freelist(); |
| 764 | m_mem_pool_value_trait.disable_freelist(); |
| 765 | for (auto&& i : m_dtor_callbacks) |
| 766 | i.second(); |
| 767 | for (auto&& i : ComputingGraphImpl::downcast(m_owner_graph)->all_oprs()) { |
| 768 | for (auto j : i->output()) { |
| 769 | clear_tag_handler(j); |
| 770 | } |
| 771 | } |
| 772 | } |
| 773 | |
| 774 | void StaticInferManagerImpl::clear_tag_handler(Tag tag) { |
| 775 | auto&& container = get_tag_trait_container(tag); |
nothing calls this directly
no test coverage detected