Skip to content

Commit

Permalink
numpy-in-pytorch-modules, generic match
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosQuildu committed Apr 3, 2024
1 parent 0051875 commit 3a6867d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/numpy-in-pytorch-modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rules:
patterns:
- pattern-either:
- pattern: numpy.$FN(...)
- pattern: numpy.$MOD.$FN(...)
- pattern: numpy. ... .$FN(...)
- pattern-inside: |
class $MODULE(torch.nn.Module):
...

0 comments on commit 3a6867d

Please sign in to comment.