mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-22 04:56:41 +08:00
precommit changes
This commit is contained in:
parent
584a105c09
commit
df1f8aa3be
@ -9,6 +9,7 @@ from mlx.nn.layers.dropout import Dropout
|
|||||||
from mlx.nn.layers.linear import Linear
|
from mlx.nn.layers.linear import Linear
|
||||||
from mlx.nn.layers.normalization import LayerNorm
|
from mlx.nn.layers.normalization import LayerNorm
|
||||||
|
|
||||||
|
|
||||||
class MultiHeadAttention(Module):
|
class MultiHeadAttention(Module):
|
||||||
"""Implements the scaled dot product attention with multiple heads.
|
"""Implements the scaled dot product attention with multiple heads.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user