[lookaside][torch.autograd.Function lookaside] use shallow_copy
iff forward is empty
#5046
Loading
shallow_copy
iff forward is empty
#5046