mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
LossCrossentropy: add kwargs
This commit is contained in:
parent
838ff56a3b
commit
37f196a785
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ class LossCrossentropy(tf.keras.losses.Loss):
|
||||||
Args:
|
Args:
|
||||||
batch_size (integer): The batch size (currently unused).
|
batch_size (integer): The batch size (currently unused).
|
||||||
"""
|
"""
|
||||||
def __init__(self, batch_size):
|
def __init__(self, batch_size, **kwargs):
|
||||||
super(LossCrossentropy, self).__init__()
|
super(LossCrossentropy, self).__init__(**kwargs)
|
||||||
|
|
||||||
self.param_batch_size = batch_size
|
self.param_batch_size = batch_size
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue