Skip to content

Commit

Permalink
updated block specific docstring for batch_norm_epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgoogle committed Nov 12, 2024
1 parent e307ba8 commit f9dd3c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keras_hub/src/models/efficientnet/fusedmbconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class FusedMBConvBlock(keras.layers.Layer):
se_ratio: default 0.0, The filters used in the Squeeze-Excitation phase,
and are chosen as the maximum between 1 and input_filters*se_ratio
batch_norm_momentum: default 0.9, the BatchNormalization momentum
batch_norm_epsilon: default 1e-3, float, epsilon for batch norm
calcualtions. Used in denominator for calculations to prevent divide
by 0 errors.
activation: default "swish", the activation function used between
convolution operations
dropout: float, the optional dropout rate to apply before the output
Expand Down
3 changes: 3 additions & 0 deletions keras_hub/src/models/efficientnet/mbconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def __init__(
is above 0. The filters used in this phase are chosen as the
maximum between 1 and input_filters*se_ratio
batch_norm_momentum: default 0.9, the BatchNormalization momentum
batch_norm_epsilon: default 1e-3, float, epsilon for batch norm
calcualtions. Used in denominator for calculations to prevent
divide by 0 errors.
activation: default "swish", the activation function used between
convolution operations
dropout: float, the optional dropout rate to apply before the output
Expand Down

0 comments on commit f9dd3c8

Please sign in to comment.