0 votes
in PyTorch by
Which of the following function is used to compute the gradients on a loss function?

Select the best option from below

a) .gradients()

b) .step()

c) .grads()

d) .backwards()

1 Answer

0 votes
by
d) .backwards()
...