Oh, this can be done by setting, for example, the `data` field of the desired entry of the input_storage list to be the `data` from the corresponding input of another function.
Each time the same function is unpickled, the memory usage on the GPU goes up by the size of the shareds. Setting the data object as equivalent between two such functions does not reduce apparent GPU memory usage, but subsequently unpickling the again shows no increase in memory (unpickling once more does increase memory again), so it appears to be working fine at re-using the memory. :) -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.