You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by JC Li via TVM Discuss <no...@discuss.tvm.ai> on 2020/04/02 22:36:16 UTC

[TVM Discuss] [Questions] Cached Key/Function in Lower process


I noticed these terms "CCachedKey", "CCachedFunc" in lowering process in <top of tree>/src/relay/backend/compile_engine.cc.

1. Why is there a 'cache'? 
2. What's its relationship to the lowering process? 

Thanks.





---
[Visit Topic](https://discuss.tvm.ai/t/cached-key-function-in-lower-process/6192/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/678e43ffaf2c8e1494a9e3e2ab02d6378facd030e9c0cc0ac0edee54224c48db).

[TVM Discuss] [Questions] Cached Key/Function in Lower process

Posted by Zhuochen via TVM Discuss <no...@discuss.tvm.ai>.

Perhaps it is for compiling efficiency ?

In a NN Graph, there might exist many same structure relay functions (after relay Graph-Level Opt)。

So during lowering process, when meets a already lowered  relay function, no need to lower again





---
[Visit Topic](https://discuss.tvm.ai/t/cached-key-function-in-lower-process/6192/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/0e85349fd3e098cc5d66eb9f448e292773bdbbcb3c0d01572dc5fdb8cb6d525d).