masahi commented on PR #12646:
URL: https://github.com/apache/tvm/pull/12646#issuecomment-1232321802

   I think such pass is useful indeed, but I don't have a good idea on how to 
identify the intermediate node that will become the output node in the 
extracted subgraph. 
   
   Your approach that uses an integer and incrementing the count as we go 
through ops is probably ok for chain-like models, but for more general models 
where there is no clear ordering on nodes, this would not work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to