Skip to content

Commit c180d88

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c2122b0 commit c180d88

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

computer_vision/vision_transformer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,7 @@ def layer_norm(embeddings: np.ndarray, epsilon: float = 1e-6) -> np.ndarray:
240240
return (embeddings - mean) / (std + epsilon)
241241

242242

243-
def feedforward_network(
244-
embeddings: np.ndarray, hidden_dim: int = 3072
245-
) -> np.ndarray:
243+
def feedforward_network(embeddings: np.ndarray, hidden_dim: int = 3072) -> np.ndarray:
246244
"""
247245
Apply position-wise feed-forward network.
248246

0 commit comments

Comments
 (0)