Skip to content

Commit

Permalink
Changed default initializer to 'uniform'
Browse files Browse the repository at this point in the history
  • Loading branch information
jackd authored and mattdangerw committed Sep 11, 2023
1 parent 1302c84 commit cf31bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_nlp/layers/modeling/token_and_position_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
sequence_length,
embedding_dim,
tie_weights=True,
embeddings_initializer="glorot_uniform",
embeddings_initializer="uniform",
mask_zero=False,
**kwargs
):
Expand Down

0 comments on commit cf31bfe

Please sign in to comment.