Skip to content
RED SAG Skills
mediumStudy question · answer published in PyTorch interview questions, so no pointsdeep-learningpytorchautograd

What detach() does

In a training loop, z = model_a(x).detach() is fed into model_b. What happens when you call loss.backward() on model_b's loss?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions