mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 10:32:59 +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:
|
||||
batch_size (integer): The batch size (currently unused).
|
||||
"""
|
||||
def __init__(self, batch_size):
|
||||
super(LossCrossentropy, self).__init__()
|
||||
def __init__(self, batch_size, **kwargs):
|
||||
super(LossCrossentropy, self).__init__(**kwargs)
|
||||
|
||||
self.param_batch_size = batch_size
|
||||
|
||||
|
|
Loading…
Reference in a new issue