How about this for mixed TIR and Relay:

    class MixedModule:
         @relay.script
         def relay_func(x: ty.Tensor):
              return relay.call_tir_dest_passing(tir_func, x)
   
         @tir.script
         def tir_func(x: ty.handle)
              ...





---
[Visit Topic](https://discuss.tvm.apache.org/t/rfc-rename-hybrid-script/7915/9) 
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/57c18dc1e36e8130416cb4e70b69b237e7b97489d2181c780b529fd8bbb8ef4c).

Reply via email to