Merge #1238
1238: Fix inline code block r=dhairyagandhi96 a=harryscholes ### PR Checklist - [ ] Tests are added - [ ] Entry in NEWS.md - [x] Documentation, if applicable - [ ] Final review from `@MikeInnes` or `@dhairyagandhi96` (for API changes). Co-authored-by: harryscholes <harryscholes@gmail.com>
This commit is contained in:
commit
7035ee9bea
|
@ -24,7 +24,7 @@ testmode!(m, mode = true) = m
|
||||||
trainmode!(m, mode = true)
|
trainmode!(m, mode = true)
|
||||||
|
|
||||||
Set a layer of model's train mode (see below).
|
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 during testing phase.
|
it into test mode during testing phase.
|
||||||
|
|
Loading…
Reference in New Issue