Hi,
The recommended way to do this is to pass what you used to give to init to the forward function and add the corresponding number of None, to the backward’s return.
Now if you want to access the ctx, note that this is python so you can do whatever you want (like saving it in a global during forward), but that is not recommended.
Do you have more details (and a small code sample) of what you want to do?