Commit cecea51
small fix: torch.nn.Parameter instead of nn.Linear (#1302)
* nn.Linear module is not defined in Polynomial3 model.
* torch.nn.Parameter is used to defined the members of the model
Co-authored-by: Brian Johnson <[email protected]>
Co-authored-by: holly1238 <[email protected]>1 parent 6738ff1 commit cecea51
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments