mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-29 22:01:17 +08:00
Fix typo in transformer docs (#1414)
This commit is contained in:
parent
d0c58841d1
commit
bd8396fad8
@ -314,7 +314,7 @@ class Transformer(Module):
|
|||||||
norm_first (bool, optional): if ``True``, encoder and decoder layers
|
norm_first (bool, optional): if ``True``, encoder and decoder layers
|
||||||
will perform layer normalization before attention and MLP
|
will perform layer normalization before attention and MLP
|
||||||
operations, otherwise after. Default: ``True``.
|
operations, otherwise after. Default: ``True``.
|
||||||
chekpoint (bool, optional): if ``True`` perform gradient checkpointing
|
checkpoint (bool, optional): if ``True`` perform gradient checkpointing
|
||||||
to reduce the memory usage at the expense of more computation.
|
to reduce the memory usage at the expense of more computation.
|
||||||
Default: ``False``.
|
Default: ``False``.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user