There are some tradeoffs, for example, given the type system is shared across
relay and tir. We might in the future have things like
```python
@tvm.script
class MixedModule:
MyStruct = ADT[Integer, Integer]
def relay_func(x: ty.Tensor):
return relay.call_tir_dest_passing(tir_func, x)
def tir_func(x: ty.handle)
```
So parsing might need to go beyond the function level. Additionally, we might
also need to serialize the meta-data.
Conceptually, the basic unit in the transformation is an IRModule, and it would
be nice to have a decorator on a module to support that(although it is also
important to decorate a function as well)
---
[Visit
Topic](https://discuss.tvm.apache.org/t/rfc-rename-hybrid-script/7915/10) to
respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.apache.org/email/unsubscribe/0c58b2e7035961096d386e0de277ccb32e4b27c85ffe8211779171bc54b29449).