Thank you for your reply.
I see. By the way, is there a way to explicitly free a partial calculation graph?
E.g. when a variable has a computation graph calculated from n hidden layers, free its computation graph up to n - 10?