can someone explain to me the difference between detach().clone() and clone().detach() for a tensor
A = torch.rand(2,2)
what is the difference between A.detach().clone() and  A.clone().detach()
are they equal?
when i do detach it makes requres_grad false, and clone make a copy of it, but how the  two aforementioned method are different?
is there any of them preferred?