if I delete the backward it will involves many variables.
my purpose is that the graph retain two output, one is produced image ,the other is real ,they come from same graph i have to use retain_graph=True to make sure grad value will not be cleared by system.
How can i do