mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 17:23:01 +00:00
LossDice: add comment
This commit is contained in:
parent
449bc425a7
commit
4e4d42a281
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ def dice_coef_loss(y_true, y_pred, **kwargs):
|
||||||
|
|
||||||
class LossDice(tf.keras.losses.Loss):
|
class LossDice(tf.keras.losses.Loss):
|
||||||
"""An implementation of the dice loss function.
|
"""An implementation of the dice loss function.
|
||||||
|
@source
|
||||||
Args:
|
Args:
|
||||||
smooth (float): The batch size (currently unused).
|
smooth (float): The batch size (currently unused).
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue