mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-28 21:21:21 +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
|
||||
will perform layer normalization before attention and MLP
|
||||
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.
|
||||
Default: ``False``.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user