1 Commits

Author SHA1 Message Date
github-actions[bot]
2a23d72c8f
Create rule S6982: model.eval() or model.train() should be called after loading a PyTorch model state (#3972)
* Create rule S6982

* Create rule S6982: model.eval() should be called after loading weights
of a PyTorch model

* Added implementation details

* Fix after review

---------

Co-authored-by: joke1196 <joke1196@users.noreply.github.com>
Co-authored-by: David Kunzmann <david.kunzmann@sonarsource.com>
2024-09-19 14:55:20 +02:00