PyTorch Forums
Check if model is eval or train
SimonW
(Simon Wang)
November 1, 2017, 11:56pm
2
module.training
is the boolean you are looking for.
73 Likes
show post in topic