You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lines 70 and 76 of tensorflow_ranking/python/keras/layers.py, the code snippet should have **kwargs as input to tf.keras.layers.Dense
model = tf.keras.Sequential(name=name)
# Input batch normalization.
if input_batch_norm:
model.add(tf.keras.layers.BatchNormalization(momentum=batch_norm_moment))
for layer_width in hidden_layer_dims:
model.add(tf.keras.layers.Dense(units=layer_width), **kwargs)
if use_batch_norm:
model.add(tf.keras.layers.BatchNormalization(momentum=batch_norm_moment))
model.add(tf.keras.layers.Activation(activation=activation))
if dropout:
model.add(tf.keras.layers.Dropout(rate=dropout))
model.add(tf.keras.layers.Dense(units=output_units), **kwargs)
return model
The text was updated successfully, but these errors were encountered:
In lines 70 and 76 of tensorflow_ranking/python/keras/layers.py, the code snippet should have
**kwargs
as input totf.keras.layers.Dense
The text was updated successfully, but these errors were encountered: