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
1786: Add docstring for `params` r=mcabbott a=logankilpatrick
`params` is used all over the model zoo and tutorials in Flux. There should be a docstring or we should not publicly use it. Not sure if the proposed docstring gets the job done 100% but this seems like a step in the right direction.
Co-authored-by: Logan Kilpatrick <23kilpatrick23@gmail.com>
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/src/training/training.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,10 @@ Such an object contains a reference to the model's parameters, not a copy, such
70
70
71
71
Handling all the parameters on a layer by layer basis is explained in the [Layer Helpers](../models/basics.md) section. Also, for freezing model parameters, see the [Advanced Usage Guide](../models/advanced.md).
72
72
73
+
```@docs
74
+
Flux.params
75
+
```
76
+
73
77
## Datasets
74
78
75
79
The `data` argument of `train!` provides a collection of data to train with (usually a set of inputs `x` and target outputs `y`). For example, here's a dummy dataset with only one data point:
0 commit comments