[Apache TVM Discuss] [Questions] How to Package TVM into Another Python Wheel Package?

2021-08-13 Thread Johnson9009 via Apache TVM Discuss
Thanks for replying, but it maybe unacceptable for our customers to set a specific value in PYTHONPATH after install our released python package. The only method I can found to achieve the same goal is appending the path `/nn_builder` to `sys.path` in file `/nn_builder/__init__.py`. Do you

[Apache TVM Discuss] [Questions] Create a `relay.Expr` from a `auto_scheduler.SearchTask`

2021-08-13 Thread Cody H. Yu via Apache TVM Discuss
I'm not sure I understand your question. Relay expression and TE expression are at different levels. For example `T_dense` is a TE tensor compute, which corresponds to one Relay op (e.g., `nn.dense`). On the other hand, TE compute can also be a result of a sequence of Relay ops. For example `T

[Apache TVM Discuss] [Questions] Create a `relay.Expr` from a `auto_scheduler.SearchTask`

2021-08-13 Thread Wheest via Apache TVM Discuss
Thanks for the reply @comaniac. I don't need these _exact_ tensors, just to recreate them from the available properties (e.g. their shapes, expressions of how they are generated). I'm wondering if it's possible to recreate them from scratch at the Relay level, just by reading the properties

[Apache TVM Discuss] [Questions] Create a `relay.Expr` from a `auto_scheduler.SearchTask`

2021-08-13 Thread Cody H. Yu via Apache TVM Discuss
This is impossible. The `tensors` you are referring to are already lowered from Relay to TE, so you cannot reverse them back to Relay. --- [Visit Topic](https://discuss.tvm.apache.org/t/create-a-relay-expr-from-a-auto-scheduler-searchtask/10795/2) to respond. You are receiving this becau