@@ -13,7 +13,8 @@ reporting issues.
13
13
TorchFix can be used as a Flake8 plugin (linting only) or as a standalone
14
14
program (with autofix available for a subset of the lint violations).
15
15
16
- Currently TorchFix is in a ** beta version** stage, so there are still a lot of rough
16
+ > [ !WARNING]
17
+ > Currently TorchFix is in a ** beta version** stage, so there are still a lot of rough
17
18
edges and many things can and will change.
18
19
19
20
## Installation
@@ -36,7 +37,8 @@ TorchFix can also be run as a standalone program: `torchfix .`
36
37
Add ` --fix ` parameter to try to autofix some of the issues (the files will be overwritten!)
37
38
To see some additional debug info, add ` --show-stderr ` parameter.
38
39
39
- Please keep in mind that autofix is a best-effort mechanism. Given the dynamic nature of Python,
40
+ > [ !CAUTION]
41
+ > Please keep in mind that autofix is a best-effort mechanism. Given the dynamic nature of Python,
40
42
and especially the beta version status of TorchFix, it's very difficult to have
41
43
certainty when making changes to code, even for the seemingly trivial fixes.
42
44
@@ -83,9 +85,9 @@ for details.
83
85
84
86
#### torch.nn.utils.weight_norm
85
87
86
- This function is deprecated. Use :func: ` torch.nn.utils.parametrizations.weight_norm `
87
- which uses the modern parametrization API. The new `` weight_norm ` ` is compatible
88
- with `` state_dict `` generated from old `` weight_norm ` ` .
88
+ This function is deprecated. Use ` torch.nn.utils.parametrizations.weight_norm `
89
+ which uses the modern parametrization API. The new ` weight_norm ` is compatible
90
+ with ` state_dict ` generated from old ` weight_norm ` .
89
91
90
92
Migration guide:
91
93
0 commit comments