Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.Tensor.retains_grad#

Tensor.retains_grad#

Is True if this Tensor is non-leaf and its grad is enabled to be populated during backward(), False otherwise.