Hi All,

Is there a way to return intermediate values inside an IRModule as an output? 

Here is an example. How can I return %1 or %0 as an output?  from the IRModule 
or form relay.Function?  @mbrookhart  any suggestions? 


```
def @main(%x1: Tensor[(1, 1, 1, 20), float32], %y1: Tensor[(1, 1, 1, 20), 
float32]) {
  %0 = add(%x1, %y1);
  %1 = subtract(%x1, %y1);
  multiply(%0, %1)
}

```





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/changing-return-of-relay-function-or-irmodule/9307/1)
 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/e246e76dfcc3517d56340e1a4361e252ed93dd4f8ec32ad0cb24426969059a69).

Reply via email to