mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-14 23:18:08 +08:00
Fix typo in transformer docs (#1414)
This commit is contained in:
@@ -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``.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user