Does autodiff engine track

I noticed that variable and tensor has been merged together after 0.4. But I still encounter some code accessing data field directly. So I just want to clarify a few things.

It seems like is still a tensor object. Does autodiff engine track computation when operating on directly (e.g. c = + If not, is just another view of tensor but with requires_grad=False?


Yes you should stop using it altogether :slight_smile:
You can find in this other thread a detailed explanation of the effects of .data: Using

Does that answer your question?