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
Here the embeddings weight is built using trainable=True, this doesn't reflect the keras.layers.Layer parent class attribute _trainable. Therefore if we build the Embedding class using trainable=False as a parameter the underlying self._embeddings weight will still be trainable.
Is this set to true for a specific reason or is it simply a bug?
Thought I would point this out.
The text was updated successfully, but these errors were encountered:
In the class
Embedding(Layer)
keras/src/layers/core/embedding.pyHere the embeddings weight is built using
trainable=True
, this doesn't reflect thekeras.layers.Layer
parent class attribute_trainable
. Therefore if we build theEmbedding
class usingtrainable=False
as a parameter the underlyingself._embeddings
weight will still be trainable.Is this set to true for a specific reason or is it simply a bug?
Thought I would point this out.
The text was updated successfully, but these errors were encountered: