[Python] What does model.train() do in PyTorch?

Discussão em 'Python' iniciado por Stack, Agosto 20, 2025.

  1. Stack

    Stack Membro Participativo

    Does it call forward() in nn.Module? I thought when we call the model, forward method is being used. Why do we need to specify train()?

    Continue reading...

Compartilhe esta Página