https://pytorch.org/docs/0.4.1/nn.html#id46 21 shows training=False as the default, while https://pytorch.org/docs/stable/nn.html#id47 14 defaults to training=True.
I don’t know why the default value changed.