Login
Remember
Register
Ask a Question
Which of the following function is used to stop tracking gradients on Tensor?
0
votes
asked
Jan 9, 2021
in
JAVA
by
SakshiSharma
Which of the following function is used to stop tracking gradients on Tensor?
(i)torch.nn.grad(False)
(ii)torch.grad(Flase)
(iii)torch.nn.no_grad()
(iv)torch.no_grad()
#pytorch
#tensor
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 9, 2021
by
SakshiSharma
Correct Answer of this question is (iv)torch.no_grad()
...