Hi, all:
I felt confused when trying to porting some existing source code from 0.3 to 1.0.
One of the most occured situation is trying to porting this command:
b=Variable(a.data)

Personally I have several avalible approach as :
b=a.data
b=a.detach()
b=a.clone().detach()


I wonder which one is the correct way ? Or is there any canonical way to do it?
Thank you.