[Apache TVM Discuss] [Questions] Questions about IR Expressions - RelayExpr & RelayExprNode

2023-07-27 Thread Yang Yuanzhao via Apache TVM Discuss
I don't quite understand the phrase "managed reference". Could anyone explain it to me? Really appreciate your help! ![屏幕截图 2023-07-28 121639|612x25](upload://2HwOU84JFe6QrIHtSVz29IgGukR.png) --- [Visit Topic](https://discuss.tvm.apache.org/t/questions-about-ir-expressions-relayexpr-relay

[Apache TVM Discuss] [Questions] Questions about IR Expressions - RelayExpr & RelayExprNode

2023-07-27 Thread Yang Yuanzhao via Apache TVM Discuss
Hello. I'm reading C++ source code and quite confused by two classes related to RelayIR - RelayExpr and RelayExprNode. I'm wondering what's the relationship between these two types? Since RelayExpr can be cast to RelayExprNode* by the method "get()", and RelayExprNode can be cast to RelayExpr