Hi,
I’m trying to understand how the compiler works and have been reading the documentation.
In the section on the with statement 2, I see that prim::Exit returns a Tensor in TorchScript graphs.
Why does prim::Exit have a return value at all?
I could be wrong, but it seems impossible for any other code to actually do anything with the return value.
CC @SplitInfinity who I think was involved in implementing the with statement.