You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2022-6-28-pytorch-1.12-released.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The new ``torch.nn.utils.stateless.functional_call()`` API allows for:
39
39
- Any parameter or buffer present in the module can be swapped with an externally-defined value for use in the call. Naming for referencing parameters / buffers follows the fully-qualified form in the module’s ``state_dict()``
40
40
41
41
Example:
42
-
```Python
42
+
```python
43
43
import torch
44
44
from torch import nn
45
45
from torch.nn.utils.stateless import functional_call
0 commit comments