Commit 2be899b
Throws an error when params in optimizer are not the same as that of module's in
Summary: Compare nn.Module.parameters() with list of parameters from all param_groups of optimizer. If they are all not equal then raise error "Module parameters are different than optimizer Parameters"
Differential Revision: D37163873
fbshipit-source-id: a1d3302e1e7098129b6ae8f1eab52d335b62e20emake_private
1 parent d079ffd commit 2be899b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
0 commit comments