| 770 | } |
| 771 | |
| 772 | void ChannelImpl::regenerate(TensorInfo* dest) { |
| 773 | if (dest->evict_type == EvictType::DROP) { |
| 774 | auto&& path = dest->producer; |
| 775 | m_apply_stack.push( |
| 776 | {ApplyOp{path->id, path->op, path->inputs, path->outputs}, 0, dest, |
| 777 | "dtr"}); |
| 778 | if (!m_applying) |
| 779 | flush_apply_stack(); |
| 780 | } |
| 781 | } |
| 782 | |
| 783 | void ChannelImpl::do_apply_op(const ApplyOp& cmd, std::string reason) { |
| 784 | using namespace ranges; |