Add "during X phase" phrasing to testmode!/trainmode! docstring.
This commit is contained in:
parent
35e460b044
commit
23f791e32b
|
@ -46,7 +46,7 @@ Set a layer or model's test mode (see below).
|
||||||
Using `:auto` mode will treat any gradient computation as training.
|
Using `:auto` mode will treat any gradient computation as training.
|
||||||
|
|
||||||
_Note_: if you manually set a model into test mode, you need to manually place
|
_Note_: if you manually set a model into test mode, you need to manually place
|
||||||
it back into train mode.
|
it back into train mode during training phase.
|
||||||
|
|
||||||
Possible values include:
|
Possible values include:
|
||||||
- `false` for training
|
- `false` for training
|
||||||
|
@ -62,7 +62,7 @@ Set a layer of model's train mode (see below).
|
||||||
Symmetric to [`testmode!`](@ref) (i.e. `trainmode!(m, mode) == testmode!(m, !mode)).
|
Symmetric to [`testmode!`](@ref) (i.e. `trainmode!(m, mode) == testmode!(m, !mode)).
|
||||||
|
|
||||||
_Note_: if you manually set a model into train mode, you need to manually place
|
_Note_: if you manually set a model into train mode, you need to manually place
|
||||||
it into test mode.
|
it into test mode during testing phase.
|
||||||
|
|
||||||
Possible values include:
|
Possible values include:
|
||||||
- `true` for training
|
- `true` for training
|
||||||
|
|
Loading…
Reference in New Issue