Skip to content

Commit befe0a5

Browse files
authored
Remove post layer normalization from MetaCLIP2VisionEncoder which is not used already present in backbone (#2625)
1 parent 93822dd commit befe0a5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

keras_hub/src/models/metaclip_2/metaclip_2_vision_encoder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ def __init__(
107107
)
108108
for i in range(num_layers)
109109
]
110-
self.post_layer_norm = layers.LayerNormalization(
111-
epsilon=1e-5, dtype=dtype, name=f"{prefix}post_layer_norm"
112-
)
113110

114111
# === Functional Model ===
115112
image_input = layers.Input(shape=image_shape, name="images")

0 commit comments

Comments
 (0)