Skip to content
RED SAGSkills
medium10 pts · first answer countsdeep-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