precommit changes

This commit is contained in:
Jyun1998 2023-12-15 03:27:33 +08:00
parent 584a105c09
commit df1f8aa3be

View File

@ -9,6 +9,7 @@ from mlx.nn.layers.dropout import Dropout
from mlx.nn.layers.linear import Linear
from mlx.nn.layers.normalization import LayerNorm
class MultiHeadAttention(Module):
"""Implements the scaled dot product attention with multiple heads.