Skip to content

Commit

Permalink
Add test for functorch
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 committed Mar 14, 2024
1 parent 1432845 commit 0103fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/fixtures/deprecated_symbols/checker/functorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

# Check that we get only one warning for the line
functorch.vmap(tdmodule, (None, 0))(td, params)

from functorch import vmap, jacrev
2 changes: 2 additions & 0 deletions tests/fixtures/deprecated_symbols/checker/functorch.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
4:1 TOR101 Use of deprecated function functorch.vmap
6:1 TOR103 Import of deprecated function functorch.vmap
6:1 TOR103 Import of deprecated function functorch.jacrev

0 comments on commit 0103fc0

Please sign in to comment.