Fix style
This commit is contained in:
parent
685d236d8b
commit
b48bef8074
1 changed files with 2 additions and 1 deletions
|
@ -1824,8 +1824,9 @@ private:
|
|||
if (dropout_ <= 0.0) {
|
||||
return false;
|
||||
}
|
||||
if (dropout_ >= 1.0)
|
||||
if (dropout_ >= 1.0) {
|
||||
return true;
|
||||
}
|
||||
return gen(rng) < dropout_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue