tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From masahi <notificati...@github.com>
Subject Re: [dmlc/tvm] [RFC][DISCUSS] Tuple-related Fusion (#3039)
Date Thu, 18 Apr 2019 07:30:15 GMT
@tqchen I'm looking into the following approach:

* Initially, the tuple and its fields are marked as Injective, so that they can be fused as
much as possible.
* Later, if we detect that a tuple is the root of its group in [this line](https://github.com/dmlc/tvm/blob/master/src/relay/pass/fuse_ops.cc#L825),
we do all necessary patchwork to make each tuple fields become root in its group and return
the tuple itself as a isolated node.

I think this approach requires minimum code change. The patchwork only includes updating some
pointers (parent, root_ref, etc). 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/3039#issuecomment-484388597
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message