What would be the consequence if we cache every module’s output by adding the following to nn.Module’s __call__():
> self.output = var
Would this increase memory usage by prolonging the lifetime of output? I’m very curious about how intermediate values are allocated and deallocated.