tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 雾雨魔理沙 <>
Subject [dmlc/tvm] [Relay][RFC] FuseOps and Tuple (#2931)
Date Sat, 30 Mar 2019 23:27:13 GMT
After some consideration I think #2914 is not the best way to support tuple in fusion. 
0: it could handle tuple of tuple, it is the relay interpreter that is incorrect (it didnot
recursively fset, but instead assume it is either tensor or tuple of tensor).
1: it should not care about reference at all!
as operator accept recursive tuple of tensor, if there is reference in the code, it will never
become a tensor (except by function call, or refget). the correct place to catch for reference,
is at refget/forigen function call, and not a tensor.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message