Skip to content

Commit

Permalink
dropout layer missing as per official implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
sineeli committed Feb 3, 2025
1 parent b2d99df commit eea9da7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras_hub/src/models/vit/vit_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def build(self, input_shape):

def call(self, inputs):
x = self.dense_1(inputs)
x = self.dropout(x)
x = self.dense_2(x)
out = self.dropout(x)
return out
Expand Down

0 comments on commit eea9da7

Please sign in to comment.