Module — PyTorch 1.10.1 documentation
pytorch.org › generated › torcheval() [source] Sets the module in evaluation mode. This has any effect only on certain modules. See documentations of particular modules for details of their behaviors in training/evaluation mode, if they are affected, e.g. Dropout, BatchNorm , etc. This is equivalent with self.train (False).