[quote="jmatai1, post:5, topic:9307"]
```
if call.op.name =="add":
# save this call for return!
self.return_values.append(call)
super().visit_call(call)
```
[/quote]
:point_down:
```
post = super().visit_call(call)
if post.op.name =="add":
# save this call for return!
self.return_values.append(post)
return post
```
You were storing the add pre-mutation.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/changing-return-of-relay-function-or-irmodule/9307/8)
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/e6d0698661a21c30ce225d86e1b6f9e96177ae095b1c98682608df56fc466ad1).