Skip to content

Commit 1d647c3

Browse files
Fix the Doc of alpha in mobilenet_v3 (#21563)
* Fix the Doc of `alpha` in `mobilenet_v3` * Update keras/src/applications/mobilenet_v3.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update mobilenet_v3.py * Update mobilenet_v3.py --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 310bcde commit 1d647c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

keras/src/applications/mobilenet_v3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
alpha: controls the width of the network. This is known as the
9292
depth multiplier in the MobileNetV3 paper, but the name is kept for
9393
consistency with MobileNetV1 in Keras.
94+
When `weights` is `imagenet`, `alpha` can be one of `0.75` or `1.0`
95+
for non-minimalistic models, and `1.0` for minimalistic models.
9496
- If `alpha < 1.0`, proportionally decreases the number
9597
of filters in each layer.
9698
- If `alpha > 1.0`, proportionally increases the number

0 commit comments

Comments
 (0)