d
detach()
ConceptMentioned 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.
A tensor method that creates a new tensor sharing the same data but detaching it from the computational graph, preventing gradient tracking.