Commit 9580916
Fix forward mode ad tutorial by updating stateless import (#2244)
Updated the import from the now deleted torch.nn.utils._stateless to
torch.func
Fixes #2218
Test Plan:
- tested locally
Co-authored-by: Svetlana Karslioglu <[email protected]>1 parent 7e19f00 commit 9580916
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
108 | 107 | | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
0 commit comments