Created
September 10, 2022 20:02
-
-
Save radi-cho/b5a90bb7b9ba726707f8b9b3f61d4ac4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.normalize1 = layers.LayerNormalization(epsilon=1e-6) | |
self.normalize2 = layers.LayerNormalization(epsilon=1e-6) | |
self.channel_projection1 = keras.Sequential( | |
[ | |
layers.Dense(units=embedding_dim * 2), | |
layers.ReLU(), | |
layers.Dropout(rate=dropout_rate), | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment