Skip to content

Commit

Permalink
Remove unnecessary example
Browse files Browse the repository at this point in the history
  • Loading branch information
Seppli11 committed Sep 17, 2024
1 parent cbaa479 commit b9481e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rules/S6985/python/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ import safetensors
model = MyModel()
safetensors.torch.load_model(model, 'model.pth')
model = torch.load('model.pth', weights_only=True)
----

== Resources
Expand Down

0 comments on commit b9481e5

Please sign in to comment.