Fix style

This commit is contained in:
Howard Su 2023-07-03 09:22:45 +08:00
parent 685d236d8b
commit b48bef8074

View file

@ -1824,8 +1824,9 @@ private:
if (dropout_ <= 0.0) { if (dropout_ <= 0.0) {
return false; return false;
} }
if (dropout_ >= 1.0) if (dropout_ >= 1.0) {
return true; return true;
}
return gen(rng) < dropout_; return gen(rng) < dropout_;
} }