1.

Which of the following function is used to stop tracking gradients on Tensor?

Answer»

Which of the following function is used to STOP tracking gradients on Tensor?
Please choose the correct option from below LIST
(1)torch.nn.grad(False)
(2)torch.grad(FLASE)
(3)torch.nn.no_grad()
(4)torch.no_grad()

Answer:-(4)torch.no_grad()



Discussion

No Comment Found