detach()
Concept
A tensor method that creates a new tensor sharing the same data but detaching it from the computational graph, preventing gradient tracking.
Mentioned in 1 video
A tensor method that creates a new tensor sharing the same data but detaching it from the computational graph, preventing gradient tracking.